-
Notifications
You must be signed in to change notification settings - Fork 9
Encryption Methods
Robert Jordan edited this page Sep 24, 2020
·
3 revisions
The methods listed below are known algorithms of encryption/decryption and obfuscation employed by CatSystem2 in one or more file types. Exposed class structures are included in many pages to facilitate the use of these algorithms in code samples.
| Entry | Topic |
|---|---|
| Beaufort cipher | Symmetric cipher to encrypt CatSystem2 text data. |
| Blowfish cipher | Symmetric cipher to encrypt CatSystem2 binary data. |
| CRC‐32/CS2 | Modified CRC-32 checksum to convert V_CODEs to seeds for Mersenne Twister. |
| Mersenne Twister | Pseudo-Random number generator used to create random cipher keys. |
| XOR cipher | Simple encryption method of XOR'ing individual bytes or values, has various uses |
The topics below cover formats and information CatSystem2 performs encryption on.
| Entry | Topic |
|---|---|
| V_CODEs | Game ID strings used to generate seeds for Mersenne Twister. |
| Key Files | Verification files checked on launch by CatSystem2. |
| KIF Archive | Game archives containing all assets, and the brunt of most encryption. |
| CsPack Archive | Old game archives, using XOR encryption for file data offsets |
| Brute Forcing KIF Archives | Discussion on the possibilities of brute forcing the the filename encryption in KIF Archives, due to the simplicity of Beaufort ciphers. |