On the Subject of the Dual Triplex Reflector CM
Create a key using the keyword on screen 1 and the Boolean Expression on screen A. Lay the resulting key out in a 3×9 grid with a hole in the center. This will be referred to as Reflector A.
Reflector B is created by doing the same steps to create Reflector A but with the keyword on screen 2 and the Boolean Expression on screen B.
If the Submit Button is white, follow the instructions under Encrypt Instructions. Otherwise follow the instructions under Decrypt Instructions.
Encrypt Instructions
- Take the Nth letter of the encrypted word, find it in Reflector B, then find the letter in the same position in Reflector A. This is your 1st intermediate letter.
- Find the 1st intermediate letter in Reflector B, then find the letter in that position in Reflector A. This is your 2nd intermediate letter.
- Find the 2nd intermediate letter in Reflector B, then find the letter in that position in Reflector A. This is your Nth decrypted letter.
- Convert the Nth letter of the keyword on screen 3 into ternary.
- If you are at an odd step, shift the row in Reflector B that contains the second intermediate letter to the left by the two most significant digits taken as a ternary number, and shift the column in Reflector A that contains the first intermediate letter down by the least significant digit.
- If you are at an even step, shift the column in Reflector B that contains the second intermediate letter down by the most significant digit, and shift the row in Reflector A that contains the first intermediate letter to the left by the two least significant digits taken as a ternary number.
- Do not move the hole when shifting the reflectors.
- Do this for each letter of the encrypted word to get a decrypted word. Treat the keyword as if it wraps around to the front of itself.