1.7 KiB
1.7 KiB
Rotor Machine State
Assembles a complete rotor machine from its components.
Source: Native Python
Overview
This node assembles a complete rotor machine by combining rotors, a stepper mechanism, and optional auxiliary components like entry wheels, reflectors, and plugboards. The resulting machine can then be used for encryption and decryption.
Parameters
- rotors: A
ROTORSchain of rotors (from the Rotor Machine Rotor node). Required. - stepper: A
STEPPERobject that defines how the rotors step (from a stepper node). Required. - entry: (Optional) A
PERMUTATIONentry wheel (ETW). Applied first on the way in, and inverted on the way out. Identity for Wehrmacht Enigmas. - reflector: (Optional) A
PERMUTATIONstatic reflector (UKW). Must be an involution. Use this ORreflector_rotor, not both. - reflector_rotor: (Optional) A
PERMUTATIONreflector that takes a position (slot 0). A chain of exactly one rotor with an involutive wiring. Use this ORreflector, not both. - plugboard: (Optional) A
PERMUTATIONSteckerbrett. Applied outermost, before the entry wheel. Must be an involution. - auxilliary_rotors: (Optional) A
ROTORSchain of auxiliary rotors that do not participate in stepping.
Outputs
- cipher_machine: A
MACHINEobject ready for use with the Rotor Machine Encrypt/Decrypt node.
Additional Considerations
- The machine requires at least one rotor.
- The reflector and reflector_rotor are mutually exclusive - use only one.
- The entry wheel, reflector, and plugboard must each map an alphabet to itself and must be involutions (except the entry wheel, which can be any permutation).
- When using auxiliary rotors, preset steppers are not supported. Use rule or circuit steppers instead.