-
Notifications
You must be signed in to change notification settings - Fork 9
Beaufort cipher
🚧 This page is a work in progress
The Beaufort cipher is a symmetric reciprocal cipher used by CatSystem2 to obfuscate entry filenames in KIF Archives. Being a reciprocal cipher, the same function can be used to both encipher and decipher filenames without any change of parameters.
Its a simple cipher that takes the cipher index of the character, offsets it by a constant key value plus the index in the string, then reverses that index in the set. The character set used is: A-Za-z
.
CatSystem2 Beaufort Characterset:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
Although CatSystem2 manually calculates and ciphers filenames by index lookup, the cipher calculation can be simplified to basic character math and one range check for upper or lower letters. This also makes it easier to attempt Brute Forcing KIF Archive filenames, especially when 0-9
, .
, _
, and so on are static and never enciphered.
- Wikipedia: Beaufort cipher on Wikipedia