A simple, intuitive web-based Caesar cipher encryption and decryption tool. This tool lets you encrypt and decrypt text using the classic Caesar cipher technique, directly in your browser.
- Encryption and Decryption: Supports both encryption and decryption modes.
- Shift Customization: Allows you to specify a shift value for the cipher.
- Preserves Formatting: Keeps uppercase and lowercase letters distinct, while leaving non-alphabetic characters unchanged.
- Responsive Design: Works on desktop, tablet, and mobile devices.
-
Encryption:
- Shifts each letter forward by the given shift value.
- Example:
Hellowith a shift of3becomesKhoor.
-
Decryption:
- Reverses the shift by using the negative of the given shift value.
- Example:
Khoorwith a shift of3becomesHello.
-
Alphabet Handling:
- Uppercase and lowercase letters are preserved.
- Non-alphabetic characters (e.g., spaces, punctuation) remain unchanged.
- Enter Text: Type the text you want to encrypt or decrypt in the text area.
- Specify Shift Value: Input an integer value for the shift.
- Select Mode: Choose between "Encrypt" or "Decrypt" by clicking the respective button.
- View Output: The resulting text will appear below.
- Input:
Hello, World! - Shift:
3 - Output:
Khoor, Zruog!
- Input:
Khoor, Zruog! - Shift:
3 - Output:
Hello, World!
This tool is hosted on GitHub Pages here. You can also run it locally:
- Clone the Repository:
git clone https://github.com/mua2022/CaesarEncipherDecipherTool.git
cd CaesarEncipherDecipherTool
- Open Locally
- Open
index.htmlin any modern web browser.
- Enable GitHub Pages in your repository settings to host the tool online.
- HTML: For the structure of the tool.
- CSS: For styling and layout.
- JavaScript: For Caesar cipher logic and interactivity.
Contributions are welcome! Feel free to fork the repository and submit pull requests.
This project is licensed under the MIT License.
For any issues or suggestions, please open an issue in the GitHub repository.