🔐
Caesar Cipher
A console implementation of the classic Caesar cipher. It encodes or decodes a message by shifting each letter a chosen number of positions through…
A console implementation of the classic Caesar cipher. It encodes or decodes a message by shifting each letter a chosen number of positions through…
A console implementation of the classic Caesar cipher. It encodes or decodes a message by shifting each letter a chosen number of positions through the alphabet.
Type 'encode' to encrypt, type 'decode' to decrypt:
encode
Type your message:
hello world
Type the shift number:
3
the encoded message is khoor zruog
Running it again with decode, the same message khoor zruog, and shift 3
gives back hello world.
python caesar-cipher.py
Standard library only.