-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.sh
109 lines (73 loc) · 3.1 KB
/
main.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#!/bin/bash
# This Script includes all preparation steps necessary for the experiment.
# Data generation
echo "Starting plaintext Generation"
# Real-world random key empty associated data
python3 data_generation.py -m real-world -t plaintext -b 10000000
python3 data_generation.py -m random -t key -b 16
python3 encryption.py
# Real-world random key set associated data
python3 encryption.py True
# Real-world high-density key empty associated data
python3 data_generation.py -m high-density -t key -b 16
python3 encryption.py
# Real-world high-density key set associated data
python3 encryption.py True
# Real-world low-density key empty associated data
python3 data_generation.py -m low-density -t key -b 16
python3 encryption.py
# Real-world low-density key set associated data
python3 encryption.py True
# ----------------------------------
# Random Plaintext random key empty associated data
python3 data_generation.py -m random -t plaintext -b 10000000
python3 data_generation.py -m random -t key -b 16
python3 encryption.py
# Random Plaintext random key set associated data
python3 encryption.py True
# Random Plaintext high-density key empty associated data
python3 data_generation.py -m high-density -t key -b 16
python3 encryption.py
# Random Plaintext high-density key set associated data
python3 encryption.py True
# Random Plaintext low-density key empty associated data
python3 data_generation.py -m low-density -t key -b 16
python3 encryption.py
# Random Plaintext low-density key set associated data
python3 encryption.py True
# ----------------------------------
# High-density Plaintext random key empty associated data
python3 data_generation.py -m high-density -t plaintext -b 10000000
python3 data_generation.py -m random -t key -b 16
python3 encryption.py
# High-density Plaintext random key set associated data
python3 encryption.py True
# High-density Plaintext high-density key empty associated data
python3 data_generation.py -m high-density -t key -b 16
python3 encryption.py
# High-density Plaintext high-density key set associated data
python3 encryption.py True
# High-density Plaintext low-density key empty associated data
python3 data_generation.py -m low-density -t key -b 16
python3 encryption.py
# Random Plaintext low-density key set associated data
python3 encryption.py True
# ----------------------------------
# High-density Plaintext random key empty associated data
python3 data_generation.py -m low-density -t plaintext -b 10000000
python3 data_generation.py -m random -t key -b 16
python3 encryption.py
# High-density Plaintext random key set associated data
python3 encryption.py True
# High-density Plaintext high-density key empty associated data
python3 data_generation.py -m high-density -t key -b 16
python3 encryption.py
# High-density Plaintext high-density key set associated data
python3 encryption.py True
# High-density Plaintext low-density key empty associated data
python3 data_generation.py -m low-density -t key -b 16
python3 encryption.py
# Random Plaintext low-density key set associated data
python3 encryption.py True
# Move Cipher to STS
#python3 move_data.py -i cipher.txt