- Ubuntu 19.04 + Python 3.7.3
- macOS 10.14.5 + Python 3.7.3
-
Install pip3.
$ sudo apt install python3-pip
-
Install the required packages.
$ pip3 install -r requirements.txt
-
Encrypt image.
$ python3 JEPGcrypto.py <path/to/orignal_image> <path/to/key_image>
-
Decrypt image. Note: It may take at most 5 min to load.
$ python3 JEPGcrypto.py <path/to/orignal_image> <path/to/key_image> -d
-
Save result.
$ python3 gui.py