Caesar Cipher in the command-line made in Python. Not for real-world use.
Originally made for my high school's computer science class homework assignment, but expanded upon to include extra features for fun.
- Classic caesar cipher encryption gameplay
- Customisable encryption key
- Linear substitution encryption
- Works for both capital and lowercase letters and numbers (alphanumeric)
- Cycles back if out of bounds (i.e.:
0 - 1 -> 9
,9 + 1 -> 0
,A - 1 -> Z
,Z + 1 -> A
,a - 1 -> z
,z + 1 -> a
) (Does not work for symbols and other special characters) - Symmetric decryption by inputting the negative value of encryption key integer into the same function
- Install
Python 3
and downloadmain.py
. Then runmain.py
:
python main.py
- Open this link in your browser: https://onlinegdb.com/IRGQKi8Mt and click the
Run
button