A simple and intuitive desktop tool to secure your files using AES-256 encryption, built with Python and Tkinter. Easily encrypt or decrypt any file without needing technical skills β just point and click.
cryptography
Install it via pip:pip install cryptography
π§ How the System Works π Encryption Process: User selects a file via the GUI.
AES key is auto-generated (or loaded from secret.key).
The file is read as binary, encrypted using Fernet (AES-256 under the hood).
An encrypted copy is saved with .enc extension.
A SHA256 hash of the original file is computed and logged for integrity.
Original file remains untouched unless configured otherwise.
π Decryption Process: User selects a .enc file.
The encryption key from secret.key is loaded.
The file is decrypted back into its original binary content.
The user chooses where to save the decrypted file (e.g., mydoc.pdf).
A new SHA256 hash is logged for verification.
πΌοΈ Interface Preview (Optional) Add a screenshot of the GUI here if you'd like.
π Output Files secret.key β Encryption key (keep this safe!)
file.enc β Encrypted file
decrypted_file β Decrypted output (you choose name/location)
file_log.txt β Log of actions with timestamps and SHA256 hashes
π‘ Why Use This? This tool is designed for:
Students learning cybersecurity
Non-tech users who want to protect sensitive files
Anyone needing quick, offline AES encryption without command-line hassle
π οΈ Built With Python 3
cryptography
tkinter
hashlib
How to Run the Program Open your terminal or VSCode terminal.
Navigate to the project folder:
cd path/to/your/project
python secure_storage.py