🔐📊🚀
WebDemo.mp4
TerminalDemo.mp4
The Vigenère Cipher is a simple web-based tool that allows users to perform both encryption and decryption using the Vigenère cipher. The Vigenère cipher is a classical method of encrypting alphabetic text by using a simple form of polyalphabetic substitution.
This project provides a user-friendly interface for entering plaintext and keys and visualizes the encryption and decryption processes with animated transitions. The web app supports Japanese and English languages and provides a smooth user experience.
- Perform Vigenère encryption on input text with a key.
- Perform Vigenère decryption on encrypted text with the same key.
- Visualize the encryption and decryption processes with animations.
- Support for Japanese and English languages, with a language switch feature.
- Responsive design for various screen sizes.
- Easy integration with server-side logic for encryption and decryption.
- Web browser (e.g., Chrome, Firefox, Safari)
- Python3
- Modules (flask, time, colorama, argparse, sys, random)
- Clone the repository:
git clone https://github.com/sky9262/Vigenere-Cipher.git
- Navigate to the project directory:
cd Vigenere-Cipher
- Run the following command:
py app.py
- Enjoy !!!
For Japanese Encryption:
https://vigenerecipher.pythonanywhere.com/encrypt?lang=jp&text=日本が本当に好きですよ&key=そら
For English Encryption:
https://vigenerecipher.pythonanywhere.com/encrypt?lang=en&text=I Really Love Japan!!!&key=sky
lang
--> Plain text language (en/eng/english or jp/jap/japanese)text
--> Input text (plain text / encrypted text)key
--> Key
- you can also specify response type json or plaintext:
http://127.0.0.1:5000/encrypt?lang=jp&text=日本が本当に好きですよ&key=そら&type=json
-
Clone the repository:
git clone https://github.com/sky9262/Vigenere-Cipher.git
-
Navigate to the project directory:
cd Vigenere-Cipher
-
Run the following command:
#for japanese py JP_Vigenère_Cipher.py #OR #for english py EN_Vigenère_Cipher.py
py JP_Vigenère_Cipher.py -o encrypt -t "Hello World, How are you?" -k thisismykey
-o
--> Operation (encrypt / decrypt)-t
--> Input text (plain text / encrypted text)-k
--> Key
-
Open the web app in your web browser.
-
Choose the language (English or Japanese) using the language switch feature.
-
Select the "Encryption" tab to encrypt plaintext or the "Decryption" tab to decrypt text.
-
Enter the input text in the "Plain Text" or "Encrypted Text" field.
-
Enter the encryption/decryption key in the "Key" field.
-
Click the "Encrypt" or "Decrypt" button to initiate the process. The text transition will be visualized with animations.
-
View the result in the "Encrypted Text" or "Plain Text" field, depending on whether you encrypted or decrypted the text.
This project is licensed under the MIT License, which means you can use and modify the code for your own purposes. Please see the License file for more details.