This project provides a simple graphical user interface (GUI) for text encryption and decryption using the Tkinter library in Python. The application allows users to input text and a secret key, and then encrypt or decrypt the text using the provided key.
- Text Input: Enter the text you want to encrypt or decrypt.
- Secret Key Input: Enter a secret key for encryption and decryption.
- Encrypt Button: Encrypt the entered text using the secret key.
- Decrypt Button: Decrypt the entered text using the secret key.
- Reset Button: Clear the text and secret key input fields.
- Python 3.x
- Tkinter library (usually included with Python)
- Clone the repository:
git clone https://github.com/Code061/encrypt_decrypt.git
- Navigate to the project directory:
cd encrypt_decrypt
- Run the Encrypt_&_Decrypt.py script:
python Encrypt_&_Decrypt.py
- The GUI window will open. Enter the text and secret key, then click the appropriate button to encrypt or decrypt the text.
- main_screen(): Initializes the main window and sets up the GUI components.
reset()
: Clears the input fields.encrypt()
: Function to handle text encryption (implementation not provided in the snippet).decrypt()
: Function to handle text decryption (implementation not provided in the snippet).
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.