On the Subject of The Inverted Indigo Cipher

Roses are red. Violets are blue. Indigo cipher is here, and you are doomed.

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 encrypted logic key, the bottom screen shows a word.

On page 2, the top and middle screen shows a 6 digit binary number, the bottom screen shows an logic operation.

Follow the mechanics down below to decrypt your word:

Step 1: Fractionated Morse Cipher

Take the word from the bottom screen on page 1 and convert it to a letter key using the rules below:

  • Remove any duplicate letters from the keyword (keep each letter’s first occurrence).
  • Take the entire alphabet, and remove the letters shown in the word.
  • If the number of ports is odd, place the alphabet at the end of the word.
  • Otherwise, place the alphabet in front of the word.

Now that you have the letter key, place the following underneath the key:

.........---------xxxxxxxx
...---xxx...---xxx...---xx
.-x.-x.-x.-x.-x.-x.-x.-x.-

Take the encrypted logic key from the middle screen on page 1, and for each letter, convert it to the symbols according to your key you made.

Now read it as Morse, top to bottom, left to right, treating the Xs as spaces between the letters.

Morse Code Table

After all of that, you should have a 6 letter logic key, that doesn’t translate to a word unfortunately. This will be used for the logic cipher in step 2.

Example

Encrypted Logic Key: TMCQKEZWJ
Key: ABCEFJKMPQRSTUVWXYZHOLDING

ABCEFJKMPQRSTUVWXYZHOLDING
.........---------xxxxxxxx
...---xxx...---xxx...---xx
.-x.-x.-x.-x.-x.-x.-x.-x.-
TMCQKEZWJ
-..-..x-.
-x..x-.x-
.-x.....x

- - . . x - . . x - . . . x . . - . x . . - x . . - x ⇒ ZDBFUU

Step 2: Logic Cipher

For this step, you will need the logic key from step 1 and the encrypted word from the top screen of page 1.

The first part of this step is to figure out which logic gate you’ll be using. Turn the numbers on the bottom screen on page 2 into 6 digit binary numbers. Then using the left number as the left bits, the middle number as the right bits, and the third number as the resulting bits, find out which gate it is by using the following table:

LBRBANDORXORNANDNORXNOR<-
0000011111
0101110010
1001110001
1111000111

After figuring out which gate the cipher is using, then using the encrypted word, the logic key, and the 2 6 digit binaries on the top and middle screen on page 2, do the following steps:

  • 1: Turn the first letter of the encrypted word into its alphabetic position, minus 1 (A = 0, B = 1 ... Z = 25).
  • 2: Then turn the number into a 5 digit binary.
  • 3: If the top screen binary bit at the same position as that letter is a 1, invert the bits.
  • 4: Do the same 3 steps above for the logic key, and use the binary on the middle screen instead of the top screen.
  • 5: For each of the 5 bits of the 2 binaries, apply the logic gate so it turns into the resulting bit. Treat the first binary you got as the left bits, and the second binary you got as the right bits.
  • 6: Turn the resulting binary back into a number and into its corresponding letter (0 = A, 1 = B ... 25 = Z).
  • 7: Do this for each letter of the encrypted word and logic key to get a new encrypted word.

Encrypted Word: UMDVMD
Logic Key: ZDBFUU
Top Binary: 000101
Middle Binary: 011000
Logic Gate: XNOR

U, Z ⇒ 20, 25 ⇒ 10100, 11001 + 0, 0 ⇒ 10100 XNOR 11001 ⇒ 10010 ⇒ 18 ⇒ S

M, D ⇒ 12, 03 ⇒ 01100, 00011 + 0, 1 ⇒ 01100 XNOR 11100 ⇒ 01111 ⇒ 15 ⇒ P

D, B ⇒ 03, 01 ⇒ 00011, 00001 + 0, 1 ⇒ 00011 XNOR 11110 ⇒ 00010 ⇒ 02 ⇒ C

V, F ⇒ 21, 05 ⇒ 10101, 00101 + 1, 0 ⇒ 01010 XNOR 00101 ⇒ 10000 ⇒ 16 ⇒ Q

M, U ⇒ 12, 20 ⇒ 01100, 10100 + 0, 0 ⇒ 01100 XNOR 10100 ⇒ 00111 ⇒ 07 ⇒ H

D, U ⇒ 03, 20 ⇒ 00011, 10100 + 1, 0 ⇒ 11100 XNOR 10100 ⇒ 10111 ⇒ 23 ⇒ X

New Encrypted Word: SPCQHX

If you don’t know how to convert decimal to binary and vice versa, there’s a binary table on the next 2 pages that shows both 5 bit and 6 bit binaries for numbers 0 - 63.

Number6 Bits5 Bits
000000000000
100000100001
200001000010
300001100011
400010000100
500010100101
600011000110
700011100111
800100001000
900100101001
1000101001010
1100101101011
1200110001100
1300110101101
1400111001110
1500111101111
1601000010000
1701000110001
1801001010010
1901001110011
2001010010100
2101010110101
2201011010110
2301011110111
2401100011000
2501100111001
2601101011010
2701101111011
2801110011100
2901110111101
3001111011110
3101111111111
Number6 Bits
32100000
33100001
34100010
35100011
36100100
37100101
38100110
39100111
40101000
41101001
42101010
43101011
44101100
45101101
46101110
47101111
48110000
49110001
50110010
51110011
52110100
53110101
54110110
55110111
56111000
57111001
58111010
59111011
60111100
61111101
62111110
63111111

Step 3: Condi Cipher

For this, you will need the same letter key you made in step 1 and the new encrypted word you got from step 2.

Place the following 2 rows underneath the letter key (you don’t need the dots, dashes, and Xs anymore):

00000000011111111112222222
12345678901234567890123456

Treat the top row of the numbers as the tens place and the bottom row as the ones place.

For your starting offset, use the sum of the serial number digits.

For each letter of the encrypted word from the top screen on page 1, do the following steps:

  • Find the letter in the letter key.
  • Move to the right a number of times equal to the current offset.
  • The new letter you end up on becomes the decrypted letter.
  • The same position of the letter before being decrypted, using the number underneath, becomes your new offset.

After following the steps, you should now have a decrypted word.

Example

Encrypted Word: SPCQHX
Key: ABCEFJKMPQRSTUVWXYZHOLDING
Starting Offset = 23

ABCEFJKMPQRSTUVWXYZHOLDING
00000000011111111112222222
12345678901234567890123456

S + 23 ⇒ P, 12
P + 12 ⇒ O, 09
C + 09 ⇒ S, 03
Q + 03 ⇒ T, 10
H + 10 ⇒ E, 20
X + 20 ⇒ R, 17
Decrypted Word: POSTER

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.