The Caesar Cipher is a substitution cipher where each letter in the plaintext is shifted a certain number of places down or up the alphabet. Julius Caesar used this technique to send secret messages to his allies.
- Run the Python script.
- Choose whether to encrypt or decrypt a message.
- Enter the message and the shift value.
- Get the result!
Here is the result of encoding a Caesar Cipher-encrypted message:
Type 'encode' to encrypt, type 'decode' to decrypt:
encode
Type your message:
Hello
Type the shift number:
5
Here's the encoded result: mjqqt
Here is the result of decoding a Caesar Cipher-encrypted message:
Type 'encode' to encrypt, type 'decode' to decrypt:
decode
Type your message:
mjqqt
Type the shift number:
5
Here's the decoded result: hello
Contributions are always welcome! Whether you find a bug, have a suggestion, or want to add a feature—just open an issue or submit a pull request. Let's improve this project together! ✨
This project is licensed under MIT license.
Manjunath MGM
Shiv Nadar University
[email protected]