cipherProc configure ?options?
cipherProc configure -ciphertext string
cipherProc configure -ct string
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 cget option
cipherProc cget -type
cipherProc cget -ciphertext
cipherProc cget -ct
cipherProc cget -plaintext
cipherProc cget -pt
cipherProc cget -key
cipherProc cget -alphabet
cipherProc cget -bacontext
cipherProc cget -length
cipherProc cget -period
cipherProc cget -stepinterval
cipherProc cget -stepcommand
cipherProc cget -bestfitcommand
cipherProc cget -language
cipherProc substitute ct pt
pt does not need to appear in the ciphertext. ct and pt must be the same length. The substitute command calculates what key letter(s) would produce the specified ct from the pt and enters it in the cipher's key. After performing a substitution, you can use the cipherProc cget -plaintext command to look at the rest of the substitutions that the key change produced.
cipherProc undo ct
cipherProc restore ct pt
set key [$firstCipher cget -key]
$secondCipher restore [lindex $key 0] [lindex $key 1]
cipherProc locate tip ?ct?
cipherProc solve