A desktop GUI application built with Python and Tkinter to encrypt text messages from .txt files.
It is designed for simple, local use. Select a text file, enter a password, and generate an encrypted output file in the same directory.
- Desktop interface (Tkinter) with file upload button and password input.
- Encrypts message content from
.txtfiles. - Supports multi-line text files.
- Preserves non-alphabetic characters during one encryption stage.
- Outputs encrypted result to a new file with the
- encrypted.txtsuffix. - Shows encryption status in the app window.
- Python 3.8 or newer (recommended)
numpy
- Open your terminal.
- Clone the repository:
git clone https://github.com/fikrinotes/Encryption-App.git- Move into the project directory:
cd encryption-app- Install dependencies:
pip install -r requirements.txt- Prepare a
.txtfile that contains the message you want to encrypt. Example:example-text.txt - Run the application:
python main.py- In the app window, click the upload icon/button on the left panel.
- Select your
.txtfile. - Enter a password in the right panel. Use letters only (no spaces, numbers, or symbols).
- Click Encrypt.
- If successful, the app shows an
OKstatus message. - Check the same directory as your source file for the output file. The output filename format is:
<original-file-path>/encrypted.txt
For example, if your file is D:/file/example-text.txt, the encrypted output will be:
D:/file/example-text-encrypted.txt
- This project currently supports text files (
.txt) only. - The app writes the encrypted result as a new file and does not overwrite your original input file.