xref: /csrg-svn/games/caesar/caesar.6 (revision 64887)
160756Sbostic.\" Copyright (c) 1989, 1991, 1993
260756Sbostic.\"	The Regents of the University of California.  All rights reserved.
343541Strent.\"
443542Strent.\" %sccs.include.redist.man%
543541Strent.\"
6*64887Sbostic.\"	@(#)caesar.6	8.2 (Berkeley) 11/16/93
743541Strent.\"
850842Scael.Dd
950842Scael.Dt CAESAR 6
1050842Scael.Os
1150842Scael.Sh NAME
1250842Scael.Nm caesar
1350842Scael.Nd decrypt caesar cyphers
1450842Scael.Sh SYNOPSIS
1550842Scael.Nm caesar
1650842Scael.Op Ar rotation
1750842Scael.Sh DESCRIPTION
1843541StrentThe
19*64887Sbostic.Nm caesar
2045566Sbosticutility attempts to decrypt caesar cyphers using English letter frequency
2143541Strentstatistics.
22*64887Sbostic.Nm Caesar
2343541Strentreads from the standard input and writes to the standard output.
2450842Scael.Pp
2543541StrentThe optional numerical argument
2650842ScaelAr rotation
2743541Strentmay be used to specify a specific rotation value.
2850842Scael.Pp
2945566SbosticThe frequency (from most common to least) of English letters is as follows:
3050842Scael.Pp
3150842Scael.Bd -filled -offset indent
3245566SbosticETAONRISHDLFCMUGPYWBVKXJQZ
3350842Scael.Ed
3450842Scael.Pp
3545566SbosticTheir frequencies as a percentage are as follows:
3650842Scael.Pp
3750842Scael.Bd -filled -offset indent
3845566SbosticE(13), T(10.5), A(8.1), O(7.9), N(7.1), R(6.8), I(6.3), S(6.1), H(5.2),
3950842ScaelD(3.8), L(3.4), F(2.9), C(2.7), M(2.5), U(2.4), G(2),
4050842ScaelP(1.9), Y(1.9),
4145566SbosticW(1.5), B(1.4), V(.9), K(.4), X(.15), J(.13), Q(.11), Z(.07).
4250842Scael.Ed
4350842Scael.Pp
4450842ScaelRotated postings to
4550842Scael.Tn USENET
4650842Scaeland some of the databases used by the
4750842Scael.Xr fortune 6
4845566Sbosticprogram are rotated by 13 characters.
49