On the Subject of The Inverted Blue Cipher

Blue is often to describe sadness. Luckily for you, this cipher will cheer you up.

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 6 digit number.

On page 2, the top screen shows a word.

Follow the mechanics down below to decrypt your word:

Step 1: Tridigital Cipher

First thing you need to do is create a key. To do so, take the keyword from the top screen of page 2 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 indicators is even, place the alphabet at the end of the keyword. Otherwise, place the alphabet at the beginning of the keyword.

Then arrange the key you made by splitting the key into 3 rows. The 1st and 2nd rows should have 9 letters and the 3rd row should have 8 letters.

The numbers on the middle and bottom screen of page 1 are an encrypted word using the key you made.

Treat the middle screen as the rows of each number and the bottom screen as the columns of each number.

For each row/col pair, use the intersection in the key to get an decrypted letter.

You should now have a decrypted keyword that will be used in step 3 so hang on to it.

Example

Middle Screen: 232331
Bottom Screen: 739134
Key: ACDEMIBFGHJKLNOPQRSTUVWXYZ

ACDEMIBFG
HJKLNOPQR
STUVWXYZ

27 -> P
33 -> U
29 -> R
31 -> S
33 -> U
14 -> E
Decrypted Keyword: PURSUE

Step 2: Vigenere Cipher

Using the encrypted word from the top screen of page 1 and the keyword from step 1, take the first letter of your encrypted word and the first letter of the keyword and turn them into their alphabetic positions.

Sum the 2 numbers together and turn the new number back into a letter using its alphabetic position.

If the resulting number is above 26, subtract 26 until the number is between 1 - 26.

Repeat this for each letter to get a new encrypted word.

Example

Encrypted Word: AWUATW Keyword: PURSUE

A, P -> 1 + 16 = 17 -> Q
W, U -> 23 + 21 = 44 - 26 = 18 -> R
U, R -> 21 + 18 = 39 - 26 = 13 -> M
A, S -> 1 + 19 = 20 -> T
T, U -> 20 + 21 = 41 - 26 = 15 -> O
W, E -> 23 + 5 = 28 - 26 = 2 -> B
New Encrypted Word: QRMTOB

Step 3: Atbash Cipher

Take the encrypted word you got from step 2 and turn each letter into its alphabetic position (A = 1, B = 2... Z = 26).

Next, take 27 minus each number to get a new number between 1 - 26.

Convert each number back into a new letter.

You should now have a decrypted word.

Example

Encrypted Word: QRMTOB

Q -> 27 - 17 = 10 -> J
R -> 27 - 18 = 9 -> I
M -> 27 - 13 = 14 -> N
T -> 27 - 20 = 7 -> G
O -> 27 - 15 = 12 -> L
B -> 27 - 2 = 25 -> Y
Decrypted Word: JINGLY

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.