👉 AES Encryption for secure file protection
👉 RSA Key Encryption to securely store the AES key
👉 User-Friendly GUI with an intuitive interface
👉 Dark & Light Mode Toggle
👉 Progress Bar for Encryption/Decryption
👉 Drag & Drop Label (Future Feature)
git clone https://github.com/yourusername/file-encryptor.git
cd file-encryptorMake sure you have Python 3.7+ installed. Then, install the required libraries:
pip install cryptography tkBefore encrypting files, generate your RSA key pair:
python generate_keys.pyThis will create:
private_key.pem→ Used for decryption (Keep it secure)public_key.pem→ Used for encryption
python gui_encryptor.pyA window will open with options to encrypt and decrypt files.
- Click "Encrypt File".
- Select any file (e.g.,
.txt,.pdf,.jpg,.mp4). - The tool will:
- Encrypt the selected file and save it as
filename.enc. - Encrypt the AES key and save it as
aes_key.enc.
- Encrypt the selected file and save it as
- ✅ Success Message:
"File Encrypted Successfully!"
- Click "Decrypt File".
- Select the encrypted file (
filename.enc). - The tool will:
- Decrypt the AES key using
private_key.pem. - Restore the file to its original state.
- Decrypt the AES key using
- ✅ Success Message:
"File Decrypted Successfully!"