-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt~
71 lines (42 loc) · 1.72 KB
/
README.txt~
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
*********************************************************
*
* Substitution Cipher C Program
*
* created by: Robert Herrera / Brandon Radosevich
**********************************************************
- There are two main functionalites that can be used within
the program. You may either invoke and automatic decryption
process where frequency analysis used to create an initial key
and permute through the key comparing to a dictionary, or you
may use enter your own key to generate a corresponding deciphered
text.
The final Resulting key that can be used to completely decrypt
the ciphertext is as follows:
HTYAPJGNEUKFMSCBZVLWRDQXOI
ETAOINSHRDLCUMWFGYPBVKJXQZ
Within key entrance functionality copy and paste the top row of cipher
letter ordering into the field from the above key.
** IN PROGRAM **
-ETAOINSHRDLCUMWFGYPBVKJXQZ
->HTYAPJGNEUKFMSCBZVLWRDQXOI *****
***************************************************************
PROGRAM USE
***************************************************************
// NOTE: ciphertext has been hard coded into program
// Resulting Frequency Mapping can be seen on both functions
Auto-Decrypt (Appx. 5 minute decrytion time)
---------------------------------------------
make
./sub_cipher -s
- After attempt at decrytion you may manually
swap any two letter within the ciphertext. The
mapped cipher ordering will automatically swap
in the background.
(i.e.)
Hi Hellx Hxw are yxu dxing txday?
swap:x,o
Hi Hello How are you doing today?
User Entered Key (Type or Copy/Paste Ordering)
---------------------------------------------
make
./sub_cipher -g