## On the Subject of the Maroon Cipher

I bet you will feel like a maroon trying to tackle this cipher.

On the module, you will see 3 screens, a keyboard, 2 buttons with a letter on it, 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 3 pages.

On page 1, the top screen shows a 6 letter encrypted word, the middle screen shows some numbers, and the bottom screen shows a 3 letter key.

On pages 2 and 3, all 3 screens shows a word.

Concatenate the words in this order: Page 2 Top Screen, Page 2 Middle Screen, Page 2 Bottom Screen, Page 3 Top Screen, Page 3 Middle Screen, Page 3 Bottom Screen. Remove any duplicate letters from the key (keeping each letter’s first occurrence). This will be referred to as the Alphabet Key.

### Step 1: Monoalphabetic Cipher

For this, you're going to need the encrypted word on the top screen and the Alphabet Key.

Write a 2nd alphabet underneath the Alphabet Key.

For each letter of the encrypted word, find the letter in the Alphabet Key and replace it with the letter directly below it.

The resulting letters will become your new encrypted word.

#### Example

Encrypted Word: MZJBFE

QUIZSHELFPOTCWAXNGJKYRDMVB
ABCDEFGHIJKLMNOPQRSTUVWXYZ

MZJBFE -> XDSZIG

New Encrypted Word: XDSZIG

### Step 2: Redfence Transposition

For this, you will need the encrypted word you got from step 1 and the number key from the middle screen of page 1.

Place down 6 asterisks in a zig zag pattern with the number of rows equal to the length of the number key:

#### Example

Key: 231
1:   *       *
2:     *   *   *
3:        *

For each encrypted letter, replace each asterisk on that line. Each number in the key determines the order of the lines to be filled in.

Finally read the letters in the same order you place the asterisks, up and down, left to right.

You should now have a new encrypted word.

#### Example

Encrypted word: XDSZIG
Key: 231
1:   I       G
2:     X   D   S
3:        Z
New Encrypted Word: IXZDGS

### Step 3: Slidefair Cipher

For this you will need the encrypted word from step 2, the Alphabet Key, and the Slidefair Key on the bottom screen of page 1. Write a 2nd alphabet underneath the Alphabet Key.

Split the encrypted word into 3 letter pairs and do the following for each letter pair:

• Shift the bottom alphabet so that the Nth letter of the Slidefair Key is in the left most column.
• Find the 1st letter of the letter pair in the Alphabet Key.
• Find the 2nd letter of the letter pair in the bottom alphabet.
• If both letters are in the same column, replace them with the letters in the opposite column within the same row.
• Otherwise, replace each letter with the letter that is in the same row but in the column of the other letter.

#### Example

Encrypted Word: IXZDGS
Alphabet Key: QUIZSHELFPOTCWAXNGJKYRDMVB
Slidefair Key: MPH

QUIZSHELFPOTCWAXNGJKYRDMVB
MNOPQRSTUVWXYZABCDEFGHIJKL

IX -> TO

QUIZSHELFPOTCWAXNGJKYRDMVB
PQRSTUVWXYZABCDEFGHIJKLMNO

ZD -> AS

QUIZSHELFPOTCWAXNGJKYRDMVB
HIJKLMNOPQRSTUVWXYZABCDEFG

GS -> TY

Decrypted Word: TOASTY

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.