This project is a simple web application for encrypting messages using the Caesar Cipher. The interface allows users to enter a message and a displacement to shift the letters in the alphabet, generating an encrypted version of the message.
You can check out the live version of the website here: Caesar Cipher on Vercel.
- Text input for the message to be encrypted.
- Alphabet displacement selection for the cipher.
- Display of the encrypted text upon clicking a button.
- index.html: HTML structure of the application.
- style.css: Styles for the user interface.
- script.js: JavaScript logic for performing the encryption.
- assets/: Contains the image used in the header.
- HTML5
- CSS3
- JavaScript ES6
The application features a dark theme with a gradient background and custom fonts loaded from Google Fonts:
- Montserrat
- Oswald
- Roboto
- Clone the repository to your local machine:
git clone https://github.com/saleh-coder/caesar-cipher.git
- Navigate to the project directory:
cd caesar-cipher
- Open the
index.html
file in your preferred browser. - Enter your message, select the desired displacement, and click Encrypt.
- View the encrypted text displayed on the screen.
To adjust the project:
- Modify the
style.css
file to change the visual style. - Update the
script.js
file to add new features or modify the cipher logic.
This project is licensed under the MIT License. Feel free to use, modify, and distribute it as you wish.
Created with ❤️ by Amal(https://github.com/saleh-coder).