Caesar Cipher - Searisal/Cryptography-Implementation GitHub Wiki

Although the Caesar cipher is, of course, not used in the final cryptographic system, I created it before setting out on more complicated systems in order to test the waters, so to speak. Alongside functions to encrypt and decrypt a basic 24 character Caesar cipher, and an unidirectional cipher (The ROT13 algorithm) there is a numeric version which converts the plaintext string to binary code, and then replaces every zero with a one, and vice versa. The way this cipher works is by shifting the plaintext letter down the alphabet by a fixed number of positions. This number of positions, n, is the key for this algorithm. Although not particularly effective, it is one of the oldest and most widely known ciphers, having been used since ancient times.