This Node.js application encrypts and decrypts messages using a combination of the Vigenère cipher and a simple transposition method based on the "SEND TO" concept. The application allows users to input a plaintext or ciphertext and then perform encryption or decryption operations using a hardcoded key.
To use this application, you need to have Node.js installed on your system. Follow these steps to get started:
- Clone the repository.
- Navigate to the cloned directory.
- Install dependencies.
To run the application, use the following command: node app.js
After starting the app, follow these steps:
- Enter
1
for encryption or2
for decryption. - Input the plaintext (for encryption) or ciphertext (for decryption) as prompted.
- The plaintext will be encrypted using the Vigenère cipher and then transposed using the "SEND TO" transposition method.
- The ciphertext will first be decrypted using the simple transposition method and then using the Vigenère cipher.
Contributions to this project are welcome. Please ensure to update tests as appropriate.