cipherProc configure ?options?
cipherProc configure -ciphertext string
cipherProc configure -ct string
cipherProc configure -period n
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 -length
cipherProc cget -period
cipherProc cget -language
cipherProc restore key
set key [$firstCipher cget -key]
$secondCipher restore [lindex $key 0] [lindex $key 1]
cipherProc rotate col|all|key offset
The all argument specifies that all columns are to be rotated by the same offset.
The key argument adjusts the position of each column, so that each is moved to the right by the given offset. Columns shifted off the right end are wrapped to the left side. Diagramatically this appears as:
cipherProc rotate key 1
has the following effect on the ciphertext:
Before | After | |
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
|
abcd |
dabc |
cipherProc fit ?column1 column2?
cipherProc swap column1 column2
cipherProc undo
cipherProc solve