Welcome to the Caesar Cipher Program! This Python program allows users to encrypt and decrypt text using the Caesar Cipher algorithm. It is developed as a task for the Prodigy Info Tech Internship.
The Caesar Cipher is a type of substitution cipher in which each letter in the plaintext is shifted a certain number of places down or up the alphabet. This program provides a simple way to encrypt and decrypt messages using a user-defined shift value.
- Encrypts messages using the Caesar Cipher algorithm.
- Decrypts messages that were encrypted using the Caesar Cipher algorithm.
- Handles both uppercase and lowercase letters.
- Ignores non-alphabetic characters, leaving them unchanged.
- Python 3.x
- Clone the repository:
git clone https://github.com/Hun33er/PRODIGY_WD_01/caesar-cipher-program.git
- Navigate to the project directory:
cd caesar-cipher-program
Run the program using Python:
python caesar_cipher.py
Follow the prompts to encrypt or decrypt a message:
- Type
encrypt
to encrypt a message ordecrypt
to decrypt a message. - Enter the message you want to process.
- Enter the shift value (an integer).
The program will display the resulting encrypted or decrypted message.
Welcome to the Caesar Cipher Program!
Type 'encrypt' to encrypt or 'decrypt' to decrypt: encrypt
Enter your message: Hello, World!
Enter the shift number: 3
The resulting text is: Khoor, Zruog!
Contributions are welcome! If you have suggestions for improvements or new features, feel free to create a pull request or open an issue.
This project is licensed under the MIT License - see the LICENSE file for details.
Developed by [Hun33er] as part of the Prodigy Info Tech Internship.
Feel free to customize the README with your personal information, repository URL, and any additional details you find relevant.