This Python application provides a simple graphical user interface (GUI) for text encryption using the Advanced Encryption Standard (AES) algorithm in Cipher Block Chaining (CBC) mode. It utilizes the Tkinter library for GUI development and the cryptography library for AES encryption.
- User-friendly GUI for text input and encryption.
- Generates a random AES key for each encryption session.
- Encrypts user-provided text and displays the encrypted text along with the AES key used.
- Ensure you have Python 3.x installed on your system.
- Install the required libraries by running the following command:
pip install tkinter cryptography
- Clone this repository to your local machine:
git clone https://github.com/yourusername/text-encryption-app.git
- Navigate to the project directory:
cd text-encryption-app
- Run the application by executing the script:
python text_encryption.py
- Launch the application.
- Enter the text you want to encrypt in the input field.
- Click the "Encrypt" button to perform encryption.
- The encrypted text and the AES key used for encryption will be displayed in the output field.
Note: The AES key is generated randomly for each encryption session and is essential for decryption. Ensure you securely store the AES key if you plan to decrypt the text later.
- You can modify the appearance of the GUI by adjusting the style settings in the code, such as font size, padding, and button size.
- To add additional functionality or integrate this code into a larger project, you can extend the codebase as needed.
- Python 3.x
- Tkinter (for GUI development)
- cryptography (for AES encryption)
This Text Encryption Application was created by Denis Dimov.