AES image encryption using cryptography library with tkinter as the GUI
Purpose of this is to practice tkinter and file management
- Put all the folders and files into a directory
- Create a virtual environment in that directory using cmd:
python -m venv venv
- Activate the virtual environment:
venv\Scripts\activate.bat
- Download the dependencies:
pip install -r requirements.txt
- Run app.py in the cmd, or use an IDE
- Another window should appear with the app running
- Generate a key and iv (if needed)
- Select key, iv, and the mode to encrypt/decrypt
- Add images, encrypt
- Make sure that the mode, key, and iv are the same when decrypting
test_image_2 in the dec_images cannot be opened because it was decrypted incorrectly (on purpose) everything was encrypted and decrypted using CTR mode (except test_image_2 using CFB)
NOT MY IMAGES:
Link for test image 1-3
Link for test image 6-8