https://github.com/b3ta-blocker/caesar-cipher
This Program uses a Caesar cipher to encrypt and decrypt messages. Users choose encoding or decoding, and specify a shift. It includes an ASCII art logo and an interactive loop.
https://github.com/b3ta-blocker/caesar-cipher
control-flow functions input-output lists logical-operators loops module-import string-manipulation
Last synced: 8 months ago
JSON representation
This Program uses a Caesar cipher to encrypt and decrypt messages. Users choose encoding or decoding, and specify a shift. It includes an ASCII art logo and an interactive loop.
- Host: GitHub
- URL: https://github.com/b3ta-blocker/caesar-cipher
- Owner: B3TA-BLOCKER
- Created: 2023-11-07T13:57:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T00:30:29.000Z (over 1 year ago)
- Last Synced: 2024-12-29T06:16:16.825Z (9 months ago)
- Topics: control-flow, functions, input-output, lists, logical-operators, loops, module-import, string-manipulation
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌐 Caesar Cipher Encryption and Decryption Tool 🛠️
A Python-based Caesar cipher encryption and decryption tool that allows users to encode and decode messages using the classic Caesar cipher algorithm.
## Features 🚀
- **Encryption:** Transform plain text messages into encoded messages by shifting letters in the alphabet.
- **Decryption:** Decode encoded messages back to the original text using the reverse shift.
- **User-Friendly Interface:** Interactive prompts guide users to input the cipher direction, message, and shift amount.
- **Alphabetic Wrapping:** Handles shifts that wrap around the alphabet, ensuring accurate encryption and decryption.
- **Non-Alphabetic Character Preservation:** Preserves spaces and special characters in the output, maintaining message integrity.## Usage 📋
1. Run the Python script in your terminal or IDE.
2. Choose 'encode' to encrypt a message or 'decode' to decrypt a message.
3. Enter the message you want to encrypt or decrypt.
4. Input the shift amount (a positive integer) to determine the encryption/decryption key.
5. The program will display the encoded or decoded message.## Example 🌟
```plaintext
Type 'encode' to encrypt, Type 'decode' to decrypt:
encodeType your Message: hello world
Type the shift number: 3
The Encoded text is khoor zruog