Commit | Line | Data |
---|---|---|
4b51bf40 C |
1 | CAESAR(6) BSD Reference Manual CAESAR(6) |
2 | ||
3 | N\bNA\bAM\bME\bE | |
4 | c\bca\bae\bes\bsa\bar\br - decrypt caesar cyphers | |
5 | ||
6 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
7 | c\bca\bae\bes\bsa\bar\br [_\br_\bo_\bt_\ba_\bt_\bi_\bo_\bn] | |
8 | ||
9 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
10 | The c\bca\bae\bes\bsa\bar\br utility attempts to decrypt caesar cyphers using English let- | |
11 | ter frequency statistics. C\bCa\bae\bes\bsa\bar\br reads from the standard input and | |
12 | writes to the standard output. | |
13 | ||
14 | The optional numerical argument Ar rotation may be used to specify a spe- | |
15 | cific rotation value. | |
16 | ||
17 | The frequency (from most common to least) of English letters is as fol- | |
18 | lows: | |
19 | ||
20 | ETAONRISHDLFCMUGPYWBVKXJQZ | |
21 | ||
22 | Their frequencies as a percentage are as follows: | |
23 | ||
24 | E(13), T(10.5), A(8.1), O(7.9), N(7.1), R(6.8), I(6.3), S(6.1), | |
25 | H(5.2), D(3.8), L(3.4), F(2.9), C(2.7), M(2.5), U(2.4), G(2), | |
26 | P(1.9), Y(1.9), W(1.5), B(1.4), V(.9), K(.4), X(.15), J(.13), | |
27 | Q(.11), Z(.07). | |
28 | ||
29 | Rotated postings to USENET and some of the databases used by the for- | |
30 | tune(6) program are rotated by 13 characters. | |
31 | ||
32 | 4.4BSD November 16, 1993 1 |