Appendix A: Rotor Permutations
Cipher Rotor 0
YCHLQSUGBDIXNZKERPVJTAWFOM
Cipher Rotor 1
INPXBWETGUYSAOCHVLDMQKZJFR
Cipher Rotor 2
WNDRIOZPTAXHFJYQBMSVEKUCGL
Cipher Rotor 3
TZGHOBKRVUXLQDMPNFWCJYEIAS
Cipher Rotor 4
YWTAHRQJVLCEXUNGBIPZMSDFOK
Control Rotor 0 QSLRBTEKOGAICFWYVMHJNXZUDP
Control Rotor 1 CHJDQIGNBSAKVTUOXFWLEPRMZY
Control Rotor 2 CDFAJXTIMNBEQHSUGRYLWZKVPO
Control Rotor 3 XHFESZDNRBCGKQIJLTVMUOYAPW
Control Rotor 4 EZJQXMOGYTCSFRIUPVNADLHWBK
Index Rotor 1
7591482630
Index Rotor 2
3810592764
Index Rotor 3
4086153297
Index Rotor 4
3980526174
Index Rotor 5
6497135280
35
Appendix B: Simulator Commands
Set of commands for the simulation include:
!quit
!q
Quit program
!reset
!r
Reload configuration and reset rotors
!encrypt
!e
Switch to encryption mode [default mode]
!decrypt
!d
Switch to decryption mode
!reverse
!rev
Reverse a rotor
!encryptfromfile !
eff
Encrypt using the plaintext from a file
!printConf
!pc
Print the
rotor permutations
!printPos
!pp
Print the rotor positions
!printoffsets
!po
Print the rotor offsets
!set
!s
Set a rotor
!setpositions
!sp
Set the positions of the rotors. String of 15 characters. 0-9 must be
letters from A-Z and 10-15 must be digits 0-9
!setrotors
!sr
Set the rotors to use and their order. String of 15 characters. 0-9 must
be a permutation of 0-9 and 10-14 must be a permutation of 1-5
36
Appendix C: Glossary
Cipher Rotor Rotor that permutes letters to letters. Interchangeable with the control rotors.
Reversible.
Control
Rotor
Rotor that permutes letters to letters. Interchangeable with the cipher rotors.
Reversible.
CSP
Code and
Signal
Publication
ECM
Electronic
Cipher
Machine
Index Rotor
Rotor that permutes digits to digits
Key
Collection of settings used to initialize the machine. This includes:
-
The five rotors to be used as cipher rotors, their ordering, their initial
positions, and their orientations.
-
The five rotors to be used as control rotors, their ordering, their
initial positions, and their orientations.
-
The ordering of the five index rotors and their initial positions.
Path
An initial setting for the cipher rotors along with the stepping pattern of the
cipher rotors that lead to the correct ciphertext
POTUS-
PRIME
President
of
The
United
States –
Prime Minister
Rotor
A mechanical wheel that permutes a set on inputs to a set of outputs.
Rotor Bank
A set of five rotors that are used for the same function.
Rotor Cage
Holds the three rotor banks: cipher rotor bank, control rotor bank, and index
rotor bank.
Setting
Initial positions, and orientations of rotors
37