On the Subject of the Inverted Coral Cipher

"Coral!" - Rick Grimes

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 screen displays an keyword, and the bottom screen shows a number.

The top screen of page 2 displays another keyword.

Follow the mechanics down below to decrypt your word:

Step 1: GROMARK Cipher

For this, you will need the encrypted word you got from step 2 and the key from the top screen on page 2.

Write numbers under the keyword 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.

Now take the keyword and remove any duplicate letters while keeping the 1st occurrence. Take the entire alphabet and remove all the letters shown in the keyword.

If the number of ports, modulo 4, is greater than or equal to 2, put the alphabet at the end of the keyword. Otherwise, put the alphabet in front of the keyword.

Write the alphabet key underneath the number key so that it fits in the columns of the key in reading order. Read the alphabet key in ascending numerical order to get your final alphabet key. Write a second alphabet above the alphabet key.

Create a new number key by taking the 1st 3 digits of the number key, and add 3 more numbers to the end of it by summing the 1st 2 numbers, modulo 10, then the 2nd 2 numbers, modulo 10, etc.

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

  • Find the Nth letter of the encrypted word in the top alphabet.
  • Go right a number of times equal to the Nth digit of the number key.
  • The letter below becomes your new encrypted letter.

Example

Encrypted Word: UHXCSO
Keyword: JEALOUS

JEALOUS
3214576

3214576
BCDFGHI
KMNPQRT
VWXYZJE
ALOUS

Final Alphabet Key: DNXOCMWLBKVAFPYUGQZSITEHRJ

Number Key: 321 -> 321536

U, 3 -> X -> H
H, 2 -> J -> K
X, 1 -> Y -> R
C, 5 -> H -> L
S, 3 -> V -> T
O, 6 -> U -> I

Decrypted Word: HKRLTI

Step 2: AMSCO Transposition

Take the number key on the bottom screen on page 1 and place 4 'cells' underneath it so that it fits in the columns of the key in reading order.

If the 1st character of the serial number (A = 10,B = 11...Z = 35) is odd, the cells in reading order have string lengths of {1, 2, 1, 2}. Otherwise, the cells in reading order have string lengths of {2, 1, 2, 1}.

Place each letter of the encrypted word you got from step 1 in reading order, making sure to fill up the cells with the correct amount of string lengths. Then read the letters in ascending numerical order to get a new encrypted word.

Example

Encrypted Word: HKRLTI
Key: 321
String lengths: 2121

3 2 1
HK R LT
I

New Encrypted Word: LTRHKI

Step 3: Prissy Cipher

Take the keyword from the middle screen on page 1, remove any duplicate letters while keeping the 1st occurrence. Take the entire alphabet and remove all the letters shown in the keyword.

If the number of ports is odd, put the alphabet at the end of the keyword. Otherwise, put the alphabet in front of the keyword. Then split the key in half, placing the 2nd half underneath the 1st half.

Starting with an offset of the serial number’s 4th character (A = 1,B = 2...Z = 26), modulo 13, do the following instructions for each letter of the encrypted word you got from step 2:

  • Find the Nth letter of the encrypted word in the key.
  • Go right a number times equal to the offset, wrapping around to the right side of the same row.
  • The letter above/below where you ended up becomes your decrypted letter.
  • Take the sum of the offset and the Nth letter of the encrypted word, modulo 13.

Example

Encrypted Word: LTRHKI
Key: IMAGESBCDFHJKLNOPQRTUVWXYZ
Offset: J -> 10 -> 10

L -> X -> H Offset: 10 + 12 -> 22 -> 9
T -> O -> A Offset: 9 + 20 -> 29 -> 3
R -> V -> D Offset: 3 + 18 -> 21 -> 8
H -> S -> R Offset: 8 + 8 -> 16 -> 3
K -> A -> O Offset: 3 + 11 -> 14 -> 1
I -> M -> N

Decrypted Word: HADRON

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.