- 
      
 - 
        
Save GoodManWEN/1bdf7acacb6ddf4cb39220a709acb4a6 to your computer and use it in GitHub Desktop.  
    Slay The Spire save edit
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const fs = require('fs'); | |
| let data = fs.readFileSync('IRONCLAD.autosave.json', 'utf8'); | |
| const out = []; | |
| for (let i = 0; i < data.length; i++) { | |
| const key = 'key'; | |
| out.push(data.charCodeAt(i) ^ key.charCodeAt(i % key.length)); | |
| } | |
| fs.writeFileSync('IRONCLAD.autosave', Buffer.from(out).toString('base64')); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const fs = require('fs'); | |
| let data = fs.readFileSync('IRONCLAD.autosave', 'utf8'); | |
| data = Buffer.from(data, 'base64'); | |
| const out = []; | |
| for (let i = 0; i < data.length; i++) { | |
| const key = 'key'; | |
| out.push(String.fromCharCode(data[i] ^ key.charCodeAt(i % key.length))); | |
| } | |
| fs.writeFileSync('IRONCLAD.autosave.json', out.join('')); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment