-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.py
More file actions
19 lines (15 loc) · 692 Bytes
/
main.py
File metadata and controls
19 lines (15 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import image_encryption_analysis
# Set up algorithims to use here, currently supported modes below:
# modes = ["CBC", "ECB", "CTR", "CFB", "OFB"]
modes = ["CBC"]
# Set up algorithims to use here, currently supported algoritims below:
# algorithims = ["AES", "DES", "DES3", "Blowfish", "ARC2"]
algorithims = ["AES"]
# Add images in the format of a tuple, (<Image short form>, <Image sourcefile>)
# An exmaple has been given below
images = [("Man_Image", "manimage.jpg")]
for image in images:
for algo in algorithims:
for mode in modes:
print(image[0]+" "+algo+" "+mode)
image_encryption_analysis.process(image[0], algo, mode, image[1])