This project includes implementations of various encryption algorithms:
- Caesar Cipher
- Vigenère Cipher
- RSA Encryption and Decryption
- Diffie-Hellman Key Exchange
- Node.js (version 18 or later)
-
Clone the repository:
git clone https://github.com/yourusername/Cipher.git cd Cipher
-
Install dependencies:
npm install
- Caesar Cipher: Run
node caesar.js
- Vigenère Cipher: Run
node vigenere.js
- RSA Encryption and Decryption: Run
node rsa.js
- Diffie-Hellman Key Exchange: Run
node dh.js
To run the project using Docker, follow these steps:
-
Build the Docker Image:
docker build -t cipher-app .
-
Run the Docker Container:
docker run -it --rm cipher-app node caesar.js # Replace with the script you want to run
This project is licensed under the MIT License - see the LICENSE file for details.