 ## On the Subject of the Yellow Cipher

“They call me mellow yellow” - said no cipher ever.

On the module, you will see 3 screens, a keyboard, 2 arrows, and a submit button that displays the current page you're on.

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 2 pages.

On page 1, the top screen shows a 6 letter encrypted word, the middle and bottom screen shows an encrypted number.

On page 2, the top screen shows another encrypted number, the middle screen shows an eight letter word, the bottom screen shows 4 numbers separated by dashes.

Follow the mechanics down below to decrypt your word:

### Step 1: Morbit Cipher

First thing we need to do is to decipher the 3 encrypted numbers shown on the middle and bottom screens on page 1 and the top screen on page 2. Concatenate the 3 screens into one string of numbers.

Next take the word on the middle screen on page 2 and write numbers 1-8 under the word in such a way that the ascending numbers are going in alphabetical order. If there's a tie between letters, then accend in reading order. Ex: OPTIMISM -> 56813274

Then write this string underneath the 8 number key:

...---xx
.-x.-x.-

Now what you should have is a key that shows each number that translates into the characters below them.

Take the entire encrypted number and use the key to translate to dots, dashes, and Xs. Read it as Morse code treating the Xs as spaces between letters.

#### Morse Code Table You should now have a decrypted word, this will be used as a keyword for the next step.

#### Example

OPTIMISM
56813274
...---XX
.-X.-X.-

6 8 8 6 4 6 8 2 5 4 3 4 8 | . - . x . x . - x - . - . x - x . . x - - - x - . x | R E A C T I O N

### Step 2: Trifid Cipher

First thing you need to do is create a key. To do so, take the keyword you deciphered from step 1 and remove any duplicate letters from the keyword (keep each letter’s first occurrence). Take the entire alphabet and remove any letters that is shown in the keyword.

If the number of batteries is odd, place the alphabet at the end of the keyword. Otherwise, place the alphabet at the beginning of the keyword.

Finally place these rows of numbers underneath your key:

11111111122222222233333333
11122233311122233311122233
12312312312312312312312312

With the encrypted word from the top screen of page 1, turn each letter into a 3 digit number using the key you made above. Split the numbers into rows so that each row contains 6 numbers.

Read the numbers top to bottom, left to right to get a new sequence of numbers. Then take each 3 digit number and translate it back into a letter using the key you made.

The resulting letters forms your new encrypted word.

#### Example

BDFGHJKLMPQSUVWXYZREACTION
11111111122222222233333333
11122233311122233311122233
12312312312312312312312312

EEKZPE -> 312 312 131 233 211 312

312312
131233
211312

312 131 211 323 131 232 -> EKPIKY

### Step 3: Hill Cipher

For this cipher, you will need the encrypted word you got from step 2 and the 4 numbers on the bottom screen on page 2. The numbers are ordered like this: A-B-C-D.

First, you need to calculate the inverse number, N, of the equation. The equation looks like this: N((AD - BC) % 26) % 26 = 1

Once you figure out what N is, then arrange the 4 numbers like so:

D-B
-CA

Multiply each number by N and modulo by 26 (Add/Subtract 26 until it's a number between 0 - 25).

Split the encrypted word into letter pairs. For each pair do the following:

• Turn both letters into alphabetic positions.
• Take the 1st number and multiply it by the top left number.
• Multiply the 2nd number by the top right number.
• Sum the 2 numbers together and modulo by 26 and turn the number back into a letter to get the first letter (Z = 0).
• Use the 1st original number (the number before you multiplied it) and multiply it by the bottom left number.
• Use the 2nd original number (the number before you multiplied it) and multiply it by the bottom right number.
• Sum the 2 numbers together and modulo by 26 and turn the number back into a letter to get the second letter (Z = 0).

The resulting letters forms your decrypted word.

#### Example

74
2521

N((7 * 21) - (4 * 25)) % 26 = 1 => N(47) % 26 = 1 => N(21) % 26 = 1 => 5(21) % 26 = 1

21-4* 5 =105-20% 26 =16
-257* 5 =-12535% 26 =59

EK -> 5 11
PI -> 16 9
KY -> 11 25
(1 * 5) + (6 * 11) % 26 = 19 => S
(5 * 5) + (9 * 11) % 26 = 20 => T
(1 * 16) + (6 * 9) % 26 = 18 => R
(5 * 16) + (9 * 9) % 26 = 5 => E
(1 * 11) + (6 * 25) % 26 = 5 => E
(5 * 11) + (9 * 25) % 26 = 20 => T

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.