On the Subject of Enigma CM

A machine that knows no bounds when it comes to ciphers.

Create an enigma machine by following the instructions below:

Enigma Machine Schematic

PLUGBOARD
TOP ROTOR
MIDDLE ROTOR
BOTTOM ROTOR
REFLECTOR
  • Set the top rotor to the rotor type shown on screen A.
  • Set the middle rotor to the rotor type shown on screen B.
  • Set the bottom rotor to the rotor type shown on screen C.
  • Set the reflector to the reflector type shown on screen D.
  • Shift the 2 rows of the bottom rotor until the bottom row's left most letter is set to the 1st letter on screen 1.
  • Shift the 2 rows of the middle rotor until the bottom row's left most letter is set to the 2nd letter on screen 1.
  • Shift the 2 rows of the top rotor until the bottom row's left most letter is set to the 3rd letter on screen 1.

For each letter of the encrypted word, do the following:

  • If the Nth letter of the encrypted word is in screens 2/3, replace it with the letter that is directly below/above.
  • Take the Nth letter of your encrypted word and find it on the plugboard row of the enigma machine.
  • Go straight down to the top row of the top rotor to receive a new letter.
  • Find the new letter in the bottom row of the top rotor.
  • Go straight down to the top row of the middle rotor to receive a new letter.
  • Find the new letter in the bottom row of the middle rotor.
  • Go straight down to the top row of the bottom rotor to receive a new letter.
  • Find the new letter in the bottom row of the bottom rotor.
  • Go straight down to the top row of the reflector to receive a new letter.
  • Go straight down again to the bottom row of the reflector to receive a new letter.
  • Find the new letter in the top row of the reflector.
  • Go straight up to the bottom row of the bottom rotor to receive a new letter.
  • Find the new letter in the top row of the bottom rotor.
  • Go straight up to the bottom row of the middle rotor to receive a new letter.
  • Find the new letter in the top row of the middle rotor.
  • Go straight up to the bottom row of the top rotor to receive a new letter.
  • Find the new letter in the top row of the top rotor.
  • Go straight up to the plugboard row to receive a new letter.
  • If this letter is in screens 2/3, replace it with the letter that is directly below/above.
  • The resulting letter becomes your Nth decrypted letter.
  • If the middle rotor's bottom row's left most letter has an asterisk, shift all 3 rotors.
    Otherwise, if the top rotor's bottom row's left most letter has an asterisk, shift the top and middle rotors.
    Otherwise, shift the top rotor.

NOTE: To shift a rotor, press the left arrow for that rotor, shifting both of its rows to the left one.

Example

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