- Reflector - Class in enigma.machine
-
A reflector is simply a mapping from the alphabet to itself
Unlike the Plugboard, a reflector does not change once it is created
- Reflector() - Constructor for class enigma.machine.Reflector
-
Creates a reflector that maps a letter to itself
- ReflectorSettings - Class in enigma.commandline.settings
-
Settings for the reflector
- rotate() - Method in class enigma.machine.Rotor
-
Rotates the rotor and if it rotates a full turn, rotates the next one
- Rotor - Class in enigma.machine
-
A Rotor represents a physical rotor in an Enigma Machine
It starts out with an initial position and moves using the methods provided
A rotor's physical structure can bet set using the constructor but they cannot be changed later (except the position)
- Rotor() - Constructor for class enigma.machine.Rotor
-
Create a Rotor with default settings starting at position 1
- Rotor(int) - Constructor for class enigma.machine.Rotor
-
Create a Rotor with default settings starting at position pos
- Rotor(int, Rotor) - Constructor for class enigma.machine.Rotor
-
Creates a Rotor with default settings starting at position pos with a connection to another Rotor
When the rotor completes a full turn (as specified by fullTurn) it turns the connection
- RotorSettings - Class in enigma.commandline.settings
-
Settings for one of the rotors