This is a Python-based encryption and decryption tool with a graphical user interface (GUI) built using Tkinter. It supports multiple encryption algorithms, allowing users to encrypt and decrypt text using various ciphers. The application also includes a database feature to store encryption results.
- Supported Ciphers:
- Morse Code
- Caesar Cipher
- Vigenère Cipher
- Atbash Cipher
- Polybius Square Cipher
- User-Friendly Interface:
- Encrypt and decrypt text easily with a Tkinter-based GUI.
- Database Storage:
- Stores encryption results in an SQLite database for future reference.
Ensure you have the following installed:
- Python 3.x
- Tkinter (included with Python)
- SQLite3 (included with Python)
- Clone the repository or download the script files.
git clone https://github.com/your-repo/encryption-tool.git cd encryption-tool - Install required dependencies (if any):
pip install tk
- Run the application:
python encryption_tool.py
- Open the application.
- Enter the text to encrypt or decrypt.
- Select the encryption method.
- Click the Encrypt or Decrypt button.
- View the results in the application.
- The encrypted data will be stored in the SQLite database.
- Morse Code: Converts text to and from Morse code.
- Caesar Cipher: A shift cipher where letters are shifted by a fixed amount.
- Vigenère Cipher: A polyalphabetic substitution cipher using a key.
- Atbash Cipher: A simple substitution cipher that reverses the alphabet.
- Polybius Square Cipher: A cipher that replaces each letter with coordinates in a 5x5 grid.
The application uses SQLite to store encrypted messages. The database schema includes:
id(Primary Key)original_text(Text before encryption)encrypted_text(Result after encryption)cipher_used(Type of cipher used)
- Add more encryption algorithms.
- Implement a user authentication system.
- Enhance the UI with modern design elements.
This project is open-source and available under the MIT License.
If you'd like to contribute:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Submit a pull request.

