-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheni.sh
executable file
·117 lines (96 loc) · 2.42 KB
/
eni.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
107
108
109
110
111
112
113
114
115
116
117
#!/bin/bash
export PATH=$PATH:~/workspace/Simnigma
#for _ in {1..100..1}
#do
# echo -n "a" >> test_100.txt
#done
#echo "" >> test_100.txt
#echo "--- Bash ---> Generate and save test_100.txt"
#
#for _ in {1..1000..1}
#do
# echo -n "a" >> test_1k.txt
#done
#echo "" >> test_1k.txt
#echo "--- Bash ---> Generate and save test_1k.txt"
#
#for _ in {1..10000..1}
#do
# echo -n "a" >> test_10k.txt
#done
#echo "" >> test_10k.txt
#echo "--- Bash ---> Generate and save test_10k.txt"
#
#for _ in {1..100000..1}
#do
# echo -n "a" >> test_100k.txt
#done
#echo "" >> test_100k.txt
#echo "--- Bash ---> Generate and save test_100k.txt"
#
#for _ in {1..1000000..1}
#do
# echo -n "a" >> test_1M.txt
#done
#echo "" >> test_1M.txt
#echo "--- Bash ---> Generate and save test_1M.txt"
#
#for _ in {1..5000000..1}
#do
#echo -n "a" >> test_5M.txt
#done
#echo "" >> test_5M.txt
#echo "--- Bash ---> Generate and save test_5M.txt"
#simnigma.py -K for_test_1024 1024 -v
#simnigma.py -K for_test_2048 2048
#simnigma.py -R for_test_10 10
#simnigma.py -R for_test_100 100
#
#simnigma.py -c test_10k.txt -v
#simnigma.py -d test_10k.txt.enc -v
#diff -sq test_10k.txt test_10k.txt.enc.dec |grep 'różnią się'
simnigma.py -c test_s.txt -s
simnigma.py -d test_s.txt.enc -s
#simnigma.py -c test_1M.txt -k for_test_2048
#simnigma.py -d test_1M.txt.enc -k for_test_2048
#diff -sq test_1M.txt test_1M.txt.enc.dec |grep 'różnią się'
#
#simnigma.py -c test_5M.txt -k for_test_2048 -v
#simnigma.py -d test_5M.txt.enc -k for_test_2048 -v
#diff -sq test_5M.txt test_5M.txt.enc.dec |grep 'różnią się'
#rm keys/for_test_*
#rm rotors/for_test_10*
#rm *test_*
rm *enc*
#simnigma.py -c enigma.py
#simnigma.py -d enigma.py
#diff enigma.py enigma.py.enc.dec -v
#simnigma.py -c enigma.py -k /home/bq666/workspace/test2/nowy_klucz2.key -v
#simnigma.py -c enigma.py -k do_txt.key -v
#simnigma.py -c enigma.py -r set_drum_8b -v
#simnigma.py -c enigma.py -r for_file -v
#simnigma.py -c enigma.py -r ~/workspace/test2/set_drum_8b_3.pkl -v
#
#simnigma.py -d enigma.py.enc -v
#simnigma.py -d enigma.py.enc -k /home/bq666/workspace/test2/nowy_klucz2.key -v
#simnigma.py -K nowy_testuje 1024 -v
#simnigma.py -R nowy_testuje 3 -v
#simnigma.py -c *
#rm *enc*
#-c sadf
#-d asdf
#-c sdaf -k asdf
#-d asdf -k asdf
#-c asdf -k asdf -r sadf
#-d asdf -k asdf -r asdf
#....... -v
#....... -s
#....... -v -s
#
#-K sadf 1234
#-R asdf 12
#-K asdf 1234 -R asdf 12
#....... -v
#
#-h --help
#-V --version