Caesar Cipher
2015-08-09, post № 54
programming, Pygame, Python, #black, #Caesar cipher, #Caesar's cipher, #cipher, #code, #coding, #crypt, #cypher, #decrypt, #decryption, #encoder, #encoding, #encryption, #hidden, #key, #message, #private, #secret, #secret message, #unbreakable
This program lets you write a short line and encrypt it using Caesar’s Cipher. It shows the two prior and next rotations, as well as the current encryption key.
Usage
- Normal letters let you type text,
- ‘Backspace’ lets you delete the last letter,
- ‘Tab’ sets the encryption key to zero,
- ‘Escape’ toggles if key and other rotations are shown,
- ‘Return’ toggles if special characters (characters that are not contained in the standard alphabet) are displayed,
- Up arrow rotates up (encryption key decreases),
- Down arrow rotates down (encryption key increases).
Source code: caesar-cipher.py