NAME

cryptosolve -- solve standard cryptograms


SYNOPSIS

cryptosolve [-w wordlist] [-D] [-E] [cryptogram]


DESCRIPTION

cryptosolve finds solutions to standard cryptograms, using an optimized brute force approach.

The cryptogram may be passed on the command line or via standard input. To solve a cryptogram stored in a file, the file should be directed to standard input, e.g. cryptosolve < cryptogram.txt.

OPTIONS

cryptosolve accepts the following options:

-w wordlist
By default, cryptosolve looks for a file named 'wordlist' in the same directory as the executable. Use the -w option to specify the path to an alternate word list.

-u
By default, cryptosolve treats uppercase letters as base letters to be translated and lowercase letters as final letters. This allows you to use it on a partially translated cryptogram. Use the -u option when you want to force all letters to uppercase; this saves you from having to modify the input.

-D
Use the -D option to turn on debugging output.

-E
Normally, cryptosolve will repeatedly eliminate words until it reaches a point where no more words can be eliminated. Use the -E option to have only one round of elimination performed. This may be useful for debugging purposes.


FILES

wordlist
The list of words, found with the executable.

For a comprehensive word list, the author recommends the ENABLE word list, with more than 172,000 words, which can be found at http://personal.riverusers.com/~thegrendel/software.html


BUGS

Still takes an inordinate amount of time to solve some cryptograms.


AUTHOR

Ronald J Kimball <rjk-perl@tamias.net>


COPYRIGHT and LICENSE

This program is copyright 2001, 2002 by Ronald J Kimball.

This program is free and open software. You may use, modify, or distribute this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.