cipherProc configure ?options?
cipherProc configure -ciphertext string
cipherProc configure -ct string
cipherProc configure -period n
cipherProc configure -stepinterval n
cipherProc configure -stepcommand proc
stepcommand iter key pt
iter is the current iteration number. key is the current value of the key that is being used. pt is the plaintext that is produced with this key.
cipherProc configure -bestfitcommand proc
bestfitcommand iter key value pt
iter is the current iteration number. key is the current value of the key that is being used. value is the value of the metric used to judge how good this solution is. The value is often a digram or trigram frequency count. pt is the plaintext that is produced with this key.
cipherProc configure -language language
cipherProc configure -solvemethod fast|thorough
The second method, thorough, performs a brute force search through every possible key. This takes much longer since it must search the keyspace for 26period possible keys.
A digram frequency count is used to determine which key is the most likely.
cipherProc cget option
cipherProc cget -type
cipherProc cget -ciphertext
cipherProc cget -ct
cipherProc cget -plaintext
cipherProc cget -pt
cipherProc cget -key
cipherProc cget -keyword
cipherProc cget -length
cipherProc cget -period
cipherProc cget -stepinterval
cipherProc cget -stepcommand
cipherProc cget -bestfitcommand
cipherProc cget -language
cipherProc cget -solvemethod
cipherProc substitute ct pt column
cipherProc undo column
cipherProc restore ct pt
set key [$firstCipher cget -key]
$secondCipher restore [lindex $key 0] [lindex $key 1]
It operates the same as if you had run cipherProc substitute ct pt 0.
cipherProc locate tip ?ct?
cipherProc locatebest tip
cipherProc fit column