## On the Subject of the Ultimate Cipher

All ciphering techniques are required to solve this module.

On the module, you will see 3 screens, a keyboard, 2 arrows, and a submit button.

Pressing the right arrow takes you to the next page. Pressing the left arrow takes you to the previous page. There is a total of 5 pages.

• Page 1: Top screen shows 6 symbols, the 2 screens below show 6 digit numbers.
• Page 2: Top screen shows a word. Middle screen shows a number.
• Page 3: Top screen shows a letter followed by roman numerals. Middle screen shows 3 letters. Bottom screen shows a number of paired letters.
• Page 4: All 3 screens show a word.
• Page 5: Top screen shows 6 symbols.

To disarm this module, you have to decrypt the word using the mechanics down below.

### Step 1: Pigpen Cipher

On page 1, the top screen shows 6 symbols. Decrypt it by using the pigpen cipher below

### Step 2: Letter Transposition

For this, you will need the 2 numbers on the screens below the top screen. Take the 1st number from the middle screen to use for the column. Then take the 1st number from the bottom screen to use for the row. Use both numbers of the table below to get an instruction.

0123456789
03416142425234534R424
12614RV15R23456R32625
223RVR1RV12253646R225
33512462445R5131526R5
4R1131416351235R325R4
52345R3461636R4R534R2
61312RV12R33536153623
7452456R4R5R235235646
8RV26R113135615152434
936R11456164516142646
• ##: Switch the 2 letters at those positions.
• R#: Shift the whole word to the right # times.
• RV: Reverse the entire sequence.

Do this for each digit on the 2 screens to complete the transposition process.

### Step 3: Vigenere Cipher

On page 2 of the module, the top screen shows a word

Take the first letter of your encrypted word and the first letter on the top screen and translate them into numbers using the table below.

Add the two numbers together, and then turn them back into a letter with the same table.

If the numbers add up to something above 25, subtract 26 until the number is between 0 - 25.

Repeat for each letter.

A8H13O14V9
B0I7P3W17
C16J22Q19X15
D12K23R4Y20
E5L6S21Z24
F11M18T25
G10N1U2

### Step 4: Base Caesar Cipher

On page 2 of the module, the middle screen shows a number. However this number is not in base 10.

To figure out which base the number is in, take the sum of the alphanumeric positions of the letters of the encrypted word you have so far (A = 1, B = 2, ... Z = 26). Then modulo 8 the sum (subtract 8 to the sum until the number is between 0 - 7), then add 2. The resulting number is the base of the number.

To convert the number to base 10 follow the steps below:

Step 1: Above each of the digits in your number, list the power of the base that the digit represents. Start at 0 on the right and increment by 1 as you go left for each digit.
Step 2: Multiply each digit by the power of the base.
Step 3: Add all the numbers together to get your base 10 number.

EX: 132, Base 5

52 51 50
1  3  2
52 * 1 = 25
51 * 3 = 15
50 * 2 = 2
25 + 15 + 2 = 42

132 in base 5 is equal to 42 in base 10.

After converting the number to base 10, add the number to each letter of the encrypted word to get a new encrypted word.

EX:
A + 12 = 1 + 12 = 13 = M
E + 21 = 5 + 21 = 26 = Z
G + 24 = 7 + 24 = 31 - 26 = 5 = E
H + 123 = 8 + 123 = 131 - 26 = 105 - 26 = 79 - 26 = 53 - 26 = 27 - 26 = 1 = A

### Step 5: Enigma Cipher

On page 3 of the module, you will see a configuration of the rotors/reflector, the rotors setup below that, and a plugboard setup on the bottom.

### Step 5A: Configuration of the Rotors/Reflector/Plugboard

The screen at the top shows what type of rotors are used, the order they are in, and which reflector is used. Use the correct rotor charts and correct reflector chart to use to create an Enigma Decryptor.

They are read in this order: Reflector-Bottom Rotor-Middle Rotor-Top Rotor. Above the top rotor, you will type A-Z to use as the plugboard.

Use the schematic at the bottom to help you create the Enigma Decryptor.

The rotors below the screen shows what letter each one is at. Shift the letters until the bottom left letter is equal to the letter on the rotor.

For each pair of letters on the plugboard setup, switch the 2 letters positions on your plugboard.

## Enigma Schematic

### Step 5B: Rotor Turning Mechanics

On an enigma machine, everytime a letter is pressed, the rotors turn then a light lits up a single letter. Unfortunately we don't have an enigma machine with these wirings so you have to act like one. The first thing you have to do is turn rotors based on the rules below then decrypt the letter. This next section talks about how rotor turning mechanics work.

You will notice a couple letters on the bottom row of the rotors have * next to them. Depending on which rotor it's on will have different effects:

• If the asterisk is at the leftmost edge of the middle rotor, all 3 rotors will turn
• Otherwise, if the asterisk is at the left most edge of the right/top rotor, both the middle and top/right rotor will turn.
• Otherwise, only the right/top rotor will turn
• Each turn only goes up 1 step on the rotor (Ex: A -> B, G -> H, Z -> A, etc.)

### Step 5C: Using the Enigma Decryptor

• 1: Take the letter of your word and find it on the plugboard row of the decryptor.
• 2: Go straight down to the top row of the top rotor to recieve a new letter.
• 3: Find the new letter in the bottom row of the top rotor.
• 4: Go straight down to the top row of the middle rotor to recieve a new letter.
• 5: Find the new letter in the bottom row of the middle rotor.
• 6: Go straight down to the top row of the bottom rotor to recieve a new letter.
• 7: Find the new letter in the bottom row of the bottom rotor.
• 8: Go straight down to the top row of the reflector to recieve a new letter.
• 9: Find the new letter in the bottom row of the reflector.
• 10: Go straight up to the bottom row of the bottom rotor to recieve a new letter.
• 11: Find the new letter in the top row of the bottom rotor.
• 12: Go straight up to the bottom row of the middle rotor to recieve a new letter.
• 13: Find the new letter in the top row of the middle rotor.
• 14: Go straight up to the bottom row of the top rotor to recieve a new letter.
• 15: Find the new letter in the top row of the top rotor.
• 16: Go straight up to the plugboard row to recieve your decrypted letter.
• The example below uses I as the letter which will decrypt it to F.
• Repeat steps 4B and 4C for each letter of your word to get a new encrypted word.

### Step 6: Playfair Cipher

On page 4 of the module, you will see 3 words, 1 on each screen.

To obtain the key use the number of batteries on the bomb to get the order of the words from the 3 screens:

0 BAT: Top, Middle, Bottom
1 BAT: Top, Bottom, Middle
2 BAT: Middle, Top, Bottom
3 BAT: Middle, Bottom, Top
4 BAT: Bottom, Top, Middle
5+ BAT: Bottom, Middle, Top

Once you have the correct order of the words, create a 5x5 matrix of letters starting with the 3 words in the correct order. Then fill the reset with the unused letters of the alphabet. Each letter must occur only once in the matrix, so only add the first occurrence. Remove any Js from the matrix.

Replace any Js from your encrypted word to Is and split the word into character pairs. For each pair:

• If the 2 letters are exactly the same, keep them as is.
• Otherwise, if the letters appear on the same row of your matrix, replace them with the letters to their immediate left respectively, wrapping around to the right side of the row.
• Otherwise, if the letters are on the same column of your matrix, replace them with the letters immediately above, wrapping to the bottom.
• Otherwise, replace each of them with the letter on the same row but in the column of the other letter in the original pair.

### Step 7: Mechanical Cipher

On page 5 of the module, the top screen shows another pigpen cipher word. Use step 1 to decipher it.

Use the now deciphered pigpen word for the rows and use the word you have been decrypting for the past 5 steps as the columns. For each letter of each word, use the table below to get a new letter. Do this for each letter to get your decrypted word.

ABCDEFGHIKLMNOPQRSTUVWXYZ
AJZULXPIVGYTEFBORCNSWKHMQD
BUWZLYGCPDTSQVNKOHMREAJXFI
CFVWZBUDSYKANOJXRMQLHETGIP
DZEHVXCSWMKUFNJYPOLBATIRGQ
EHSNGZAOWPCBLFTVURQYDJMXKI
FEVWYCQBRAHOJKUPDMNZSITLXG
GTCEXQALNDUFKYRPVMZJBSIWOH
HYEOUJVMZPRWLDACGISKXFNBTQ
ICHFVONTLRUJYESBPQAWMDZKXG
JQGWIPXLDZYVCFRTMEBKHSNUOA
KBRCWSXMLNTPOYGIVZDUQJAEHF
LFXBDMGYJTOQURCNAEPHVIKWZS
MYZESXPWLJDAVURCHNGBIFOTQK
NAFSPUJKZOLBTXGEDRQHVMCIWY
OSAIQHKDYWNEBJTGZVCFMPULXR
PVEMYWJLHABIRSOXUCFZDGKTQN
QUOCNPDLSTMEZIVAYXGJWRFHKB
RKLGECFVPAXODHSIWYBMJUTNZQ
SJFNPZATVEBDMIQHXCKLYORWUG
TSGIYDHBNWMXQUPZOELAKJCFRV
UYSPOAMLTNERFVXBCDHQJIKZWG
VUFXGRZEAMTHOKJQDSNBWPIYCL
WCAFLYDNGZTBPIMUKSRQHOEVJX
XLVMZHTNFRPEDSQWKYJBICOAGU
YVDLZXIAJPUQREMGSKFWTHCONB
ZMRWLGHQASOIXJYCKDBEFTNVPU

Once you finally have your decrypted word, you can submit it. Once you start typing, all the screens will go black and the bottom screen will show what you are typing.

To clear it, just click one of the arrows. This goes to one of the pages and clears any input you put in. It will not let you go over 6 letters on input.

Once you are satisfied with your input, press the button labeled "SUB" to submit your answer. On a strike, the module will go back to the first page of the module, but it does not regenerate.