On the Subject of The Inverted White Cipher

White as the driven snow, this cipher knows no bounds to give defusers a hard time.

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 a number.

On page 2, the top and middle screen shows an 8 letter key.

Follow the mechanics down below to decrypt your word:

Step 1: Grille Transposition

For this, you will need the 8 letter keys from the top and middle screen on page 2.

Concatenate the 2 keys with the top screen going first, then turn it into a 4x4 matrix of letters.

Then using the grid below, rotate it 90 degrees clockwise X times, where X is the number of ports.

X   
   X
 X X
    

Take off the letters from the 4x4 matrix you made at the same position of the Xs on the grid. Make sure you take them off in reading order. Then rotate the grid 90 degrees clockwise.

Do this 3 more times to get your decrypted key.

Example

Top Screen: ENOIOCBS
Mid Screen: BVBOLEHY
# of Ports: 3

ENOI|XX 
OCBS|
BVBO|X
LEHY|X

NOBL

E  I|X   
OCBS|X
BV O|X X
 EHY| 

NOBL-ESVO

   I|   X
OCB | X 
B   |    
 EHY| XX

NOBL-ESVO-ICEH

    |    
O B |X X 
B   |X   
   Y|   X

NOBL-ESVO-ICEH-OBBY

Decrypted Key: NOBLESVOICEHOBBY


Step 2: Sean Cipher

Welcome to Sean Cipher, where the ciphers are made up and the points don't matter.

For this, you're going to need the encrypted word from the top screen of page 1, and the keyword you got from step 1.

Remove all 2nd and more occurrences in the keyword. Next, take the entire alphabet and remove all the letters that are shown in the keyword.

If the number of lit indicators is even, put the alphabet at the end of the key.
Otherwise, place it in front of the key.

Split the 26 letter key into 2 13 letter keys and place the 2nd half under the 1st half. This will now be called "THE SEAN SHIFTER".

If the alphanumeric position of the 2nd letter in the Serial Number is odd, follow Instruction Set A. Otherwise, follow Instruction Set B.

Instruction Set A

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

  • Find the letter of the encrypted word in THE SEAN SHIFTER and replace with the letter above/below.
  • Take the last letter of the top half of THE SEAN SHIFTER and place it at the front of the top half.
  • Swap the first letter of the top half with the first letter of the bottom half of THE SEAN SHIFTER.
  • Take the first letter of the bottom half of THE SEAN SHIFTER and place it at the back of the bottom half.

Instruction Set B

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

  • Find the letter of the encrypted word in THE SEAN SHIFTER and replace with the letter above/below.
  • Take the last letter of the bottom half of THE SEAN SHIFTER and place it at the front of the bottom half.
  • Swap the first letter of the top half with the first letter of the bottom half of THE SEAN SHIFTER.
  • Take the first letter of the top half of THE SEAN SHIFTER and place it at the back of the top half.

After that you should now have a new encrypted word.

Example

Encrypted Word: YISTHW
Key: NOBLESVICHYADFGJKMPQRTUWXZ
2nd letter is even, following Instruction Set B.

NOBLESVICHYAD
FGJKMPQRTUWXZ

Y -> W

OBLESVICHYADZ
NFGJKMPQRTUWX

I -> P

BLESVICHYADZX
ONFGJKMPQRTUW

S -> G

LESVICHYADZXW
BONFGJKMPQRTU

T -> X

ESVICHYADZXWU
LBONFGJKMPQRT

H -> G

SVICHYADZXWUT
ELBONFGJKMPQR

W -> P

New Encrypted Word: WPGXGP

Step 3: Base Caesar Cipher

For this, you're going to need the encrypted word you got from step 2, and the number on the middle screen from page 1.

The number in the middle screen was used to shift the letters of the encrypted word. However the number is not in base 10.

To figure out which base the number is in, take the sum of the alphanumeric positions of the letters of the encrypted word (A = 1, B = 2, ... Z = 26). Then modulo 8 the sum (subtract 8 to the sum until the number is between 0 - 7), then add 2. The resulting number is the base of the number.

To convert the number to base 10, follow the steps below:

  • 1: Above each of the digits in your number (middle screen), list the power of the base that the digit represents. Start at 0 on the right and increment by 1 as you go left for each digit.
  • 2: Multiply each digit by the power of the base.
  • 3: Add all the numbers together to get your base 10 number.

After converting the number to base 10, subtract the number to each letter of the encrypted word using its alphanumeric position (A = 1, B = 2...Y = 25, Z = 0), modulo 26, and convert the number back to a letter to get a decrypted word.

Example

Encrypted word: WPGXGP
Number: 105
Base: 23 + 16 + 7 + 24 + 7 + 16 = 93 % 8 = 5 + 2 = 7

72 71 70
1  0  5
72 * 1 = 49
71 * 0 = 0
70 * 5 = 5
49 + 0 + 5 = 54

(Do this to make it easier for you): 54 % 26 = 2
W = 23 - 2 = 21 % 26 = 21 = U
P = 16 - 2 = 14 % 26 = 14 = N
G = 7 - 2 = 5 % 26 = 5 = E
X = 24 - 2 = 22 % 26 = 22 = V
G = 7 - 2 = 5 % 26 = 5 = E
P = 16 - 2 = 14 % 26 = 14 = N
Decrypted Word: UNEVEN

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.