On the Subject of The Inverted Violet Cipher

Roses are red. Violets are blue. Didn't I already made this joke before? Oh well, here's a cipher for you.

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 shows an 6 letter keyword, the bottom screen shows a 2 digit number.

On page 2, the top screen shows another keyword.

Follow the mechanics down below to decrypt your word:

Step 1: Quagmire Cipher

For this, you're going to need the encrypted word on the top screen on page 1, the 6 letter keyword from the middle screen on page 1, and the word from the top screen on page 2 (this can be 4 - 8 letters long).

The first part of this step is to build the encryption key needed for this cipher.

The encryption key has 7 rows of letters. The first row will always be these arrangement of letters:

ABCDEFGHIJKLMNOPQRSTUVWXYZ

The next 6 rows will be the alpha key you make via using the keyword on the top screen:

  • Remove any duplicate letters in the keyword (removing all 2nd or more occurrences)
  • Take the entire alphabet and remove all letters that are in the keyword.
  • Place the alphabet at the end of the keyword. This is now your alpha key.

Now copy/paste the alpha key under the first row of the encryption key 6 times so that the total amount of rows equals 7.

Finally, shift the last 6 rows so that the letters on the left side spells out the 6 letter keyword from the middle screen.

Example

Middle Screen KW: TRAVEL
Top Screen KW: RATE

ABCDEFGHIJKLMNOPQRSTUVWXYZ
TEBCDFGHIJKLMNOPQSUVWXYZRA
RATEBCDFGHIJKLMNOPQSUVWXYZ
ATEBCDFGHIJKLMNOPQSUVWXYZR
VWXYZRATEBCDFGHIJKLMNOPQSU
EBCDFGHIJKLMNOPQSUVWXYZRAT
LMNOPQSUVWXYZRATEBCDFGHIJK

For each letter of the encrypted word do the following:

  • Find the letter of the encrypted word in the top row of the key (The row that is A - Z).
  • In that column, turn it into the letter in the same row as its position in the word to get your decrypted letter (The top row doesn't count as a row).

After that you should now have a new encrypted word.

Example

Encrypted Word: WNUHPO
This uses the table above for the decrypting process

W => Y
N => L
U => V
H => T
P => Q
O => A
New Encrypted Word: YLVTQA

Step 2: Route Transposition

For this, you will need the encrypted word you got from step 1, and the 2 digit number from the bottom screen on page 1.

The left digit determines the grid of the cipher and the right digit determines the top left number of the grid.

Use the top grid if the left digit is a 1. Otherwise use the bottom grid.

###
###
##
##
##

Fill in the grid in reading order with the encrypted word.

Starting at the top left square of the grid with the right digit on the screen being your starting number, go counter-clockwise on the grid and subtract 1 to that number until that number is 1.

Finally, read it in clockwise order starting with the letter you end up on from the previous step to get your new encrypted word.

Example

Encrypted word: YLVTQA
Number: 23

YL
VT
Q*A

YLVTQA => QVYLTA

Step 3: Porta Cipher

For this, you're going to need the encrypted word you got from step 2, and the 6 letter keyword from the middle screen on page 1, as well as the chart below.

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

  • Use the letter of the keyword as the row for the chart below.
  • If the letter of the encrypted word is between A-M, use the letter as the column for the chart. Then the intersection of the row and column of the 2 letters will give you the new encrypted letter.
  • Otherwise, find the letter in the same row as the letter of your keyword. The column of that letter will give you the new encrypted letter via the A-M row of the chart.
ABCDEFGHIJKLM
ABNOPQRSTUVWXYZ
CDOPQRSTUVWXYZN
EFPQRSTUVWXYZNO
GHQRSTUVWXYZNOP
IJRSTUVWXYZNOPQ
KLSTUVWXYZNOPQR
MNTUVWXYZNOPQRS
OPUVWXYZNOPQRST
QRVWXYZNOPQRSTU
STWXYZNOPQRSTUV
UVXYZNOPQRSTUVW
WXYZNOPQRSTUVWX
YZZNOPQRSTUVWXY

The resulting letters will form your decrypted word.

Example

Encrypted word: QVYLTA
Keyword: TRAVEL

T + Q => H
R + V => A
A + Y => L
V + L => V
E + T => E
L + A => S
Decrypted Word: HALVES

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.