-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
80 lines (56 loc) · 1.75 KB
/
README
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
charemap
========
Charemap is a little program to play with substitution ciphers. It's able to
remap text, perform characters and word analysis and to automatically decrypt
ciphertext.
Requirements
------------
Glib, GNU make and a C compiler.
Installation
------------
In order to compile charemap, simply type `make'. No installation required.
Running charemap
----------------
See ./charemap -h
Example
-------
Here is an example of automatic decryption with a ciphertext shipped with
charemap:
./charemap -i ciphers/tobeornot.txt -d -m samples/dorian.txt
Decripting using bigram and trigram detection...
done!
The mapping found is:
<- etaoihnsrdlumwyfcgpbvkxqjz
||||||||||||||||||||||||||
-> jzfusrgtkxapyeilwomdnhbqcv
Decryption result:
to me, or not to me: that is the fuestion:
whether 'tis nomver in the yink to suller
the svings ank arrows ol outrageous lortune,
or to tabe a arys against a sea ol troumves,
ank mp oddosing enk they. to kie: to sveed;
no yore; ank mp a sveed to sap we enk
the heartache, ank the thousank naturav shocbs
that lvesh is heir to.
Affining result with dictionary-based decryption...
done!
The mapping found is:
<- etaoihnsrdlumwyfcgpbvkxqjz
||||||||||||||||||||||||||
-> jzqusrgtdxaymeifwobpnhkvcl
Decryption result:
to be, or not to be: that is the question:
whether 'tis nobler in the mind to suffer
the slings and arrows of outrageous fortune,
or to take a arms against a sea of troubles,
and by opposing end them. to die: to sleep;
no more; and by a sleep to say we end
the heartache, and the thousand natural shocks
that flesh is heir to.
Author
------
Charemap is written by Marco Squarcina <[email protected]>
Website
-------
http://www.minimalblue.com/projects/charemap.html
https://github.com/lavish/charemap