On the Subject of the Black Cipher

Black as the world it came from, this cipher will be the end of 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 and bottom screens shows a word.

On page 2, the top screen shows a letter followed by 3 roman numerals, the middle screen shows 3 letters, and the bottom screen shows some letter pairs.

Step 1: Digrafid Cipher

For this, you’re going to need the encrypted word on the top screen, and the words on the middle and bottom screens.

The middle and bottom screens will be used to make 2 keys.

Using the middle screen word, removing any duplicate letters, removing all 2nd or more occurrences. Take the entire alphabet and remove all the letters shown in this word.

If alphanumeric position (A = 1,B = 2...Z = 26) of the first letter of the serial number is odd, put the alphabet at the end of the word.
Otherwise, put the alphabet in front of the word.

This will be known as Key A.

Using the bottom screen word, removing any duplicate letters, removing all 2nd or more occurrences. Take the entire alphabet and remove all the letters shown in this word.

If alphanumeric position (A = 1,B = 2...Z = 26) of the last letter of the serial number is even, put the alphabet at the end of the word.
Otherwise, put the alphabet in front of the word.

This will be known as Key B.

Add a # to the end of each key.

Split Key A into 3 equal rows of 9 letters, left to right, top to bottom.

Split Key B into 3 equal columns of 9 letters, top to bottom, left to right.

Finally, connect the 2 keys with a 3x3 grid of numbers, consisting of 1-9 in reading order. Label numbers 1-9 on top of Key A and to the right of Key B:

Example

Key A: ACDFGHIJKLOPQTVWXYZNUMBERS
Key B: BROWSEDACFGHIJKLMNPQTUVXYZ

123456789
ACDFGHIJK123
LOPQTVWXY456
ZNUMBERS#789
BFP1
RGQ2
OHT3
W IU4
SJV5
EKX6
DLY7
AMZ8
CN#9

Split the encrypted word from the top screen into 3 letter pairs. Do the following for each letter pair:

  • 1: Find the 1st letter in Key A.
  • 2: Find the 2nd letter in Key B.
  • 3: Use the column of the 1st letter to get the 1st number.
  • 4: Use the row of the 1st letter and the column of the 2nd letter to get the 2nd number.
  • 5: Use the row of the 2nd letter to get the 3rd number.
  • 6: Write the number top to bottom, to the right of any previous numbers.

Now read the 3 number combinations in reading order to get new numbers. For each 3 number combination do the following:

  • 1: Find the 1st number above Key A.
  • 2: Find the 2nd number in the 3x3 grid of numbers.
  • 3: Find the 3rd number to the right of Key B.
  • 4: Use the column of the 1st number and the row of the 2nd number to get the 1st letter.
  • 5: Use the column of the 2nd letter and the row of the 3rd number to get the 2nd letter.

After all that, you should now have a new encrypted word.

Example

Encrypted word: BQTBJI
Key: Use the table above for the decryption process.

BQ -> 592
TB -> 541
JI -> 824

Rearranging numbers so it’s top to bottom, left to right.
558
942
214
Read it, left to right, top to bottom.

558 -> TM
942 -> YR
214 -> CW

Step 2: Railfence Transposition

For this, you will need the encrypted word you got from step 1.

First determine how many rows will be used by taking the number of ports, modulo 4, plus 2.

Example

Rows: 3
   1    5
      2 4 6
   3

For each encrypted letter, in reading order, replace the number with that letter.

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

You should now have a new encrypted word.

Example

Encrypted word: XZIOHT
   X    Z
      I O H
   T
New Encrypted Word: XITOZH

Step 3: Enigma Cipher

For this, you’re going to need the encrypted word you got from step 2, and all 3 screens from page 2.

On page 2 of the module, you will see a configuration of the rotors/reflector, the rotors setup below that, and a plugboard setup on the bottom.

Step 3A: Configuration of the Rotors/Reflector/Plugboard

The screen at the top shows what type of rotors are used, the order they are in, and which reflector is used. Use the correct rotor charts and correct reflector chart to use to create an Enigma Decryptor.

They are read in this order: Reflector-Bottom Rotor-Middle Rotor-Top Rotor. Above the top rotor, you will type A-Z to use as the plugboard.

Use the schematic at the bottom to help you create the Enigma Decryptor.

The rotors below the screen shows what letter each one is at. Shift the letters until the bottom left letter is equal to the letter on the rotor.

For each pair of letters on the plugboard setup, switch the 2 letters positions on your plugboard.

Rotor I

EKMFLGDQVZNTOWYHXUSPAIBRCJ
ABCD*EFGHIJKLMNOPQ*RSTUVWXYZ

Rotor II

AJDKSIRUXBLHWTMCQGZNPYFVOE
ABCDE*FGHIJKLMNOPQR*STUVWXYZ

Rotor III

BDFHJLCPRTXVZNYEIWGAKMUSQO
ABCDEFGHI*JKLMNOPQRSTUV*WXYZ

Rotor IV

ESOVPZJAYQUIRHXLNFTGKDCMWB
ABCDEFGHIJ*KLMNOPQRSTUVW*XYZ

Rotor V

VZBRGITYUPSDNHLXAWMJQOFECK
ABCDEFGHIJKLM*NOPQRSTUVWXYZ*

Rotor VI

JPGVOUMFYQBENHZRDKASXLICTW
ABCDEFGHIJKL*MNOPQRSTUVWXY*Z

Rotor VII

NZJHGRCXMYSWBOUFAIVLPEKQDT
ABCDEFGH*IJKLMNOPQRSTU*VWXYZ

Rotor VIII

FKQHTLXOCBJSPDZRAMEWNIUYGV
ABC*DEFGHIJKLMNOP*QRSTUVWXYZ

Reflector A

ABCDEFGHIJKLMNOPQRSTUVWXYZ
LUSNPQOMJIYAHDGEFXCVBTZRKW

Reflector B

ABCDEFGHIJKLMNOPQRSTUVWXYZ
XQUMFEPOWLTJDZHGBVYKCRIASN

Reflector C

ABCDEFGHIJKLMNOPQRSTUVWXYZ
ESKOAQMJYHCPGTDLFUBNRXZVIW

Enigma Schematic

After you set it all up, you are ready to use it. First do step 3B to decrypt the first letter of the encrypted word. Then rotate the rotors shown in step 3C.

Step 3B: Using the Enigma Decryptor

  • 1: Take the letter of your word and find it on the plugboard row of the decryptor.
  • 2: Go straight down to the top row of the top rotor to recieve a new letter.
  • 3: Find the new letter in the bottom row of the top rotor.
  • 4: Go straight down to the top row of the middle rotor to recieve a new letter.
  • 5: Find the new letter in the bottom row of the middle rotor.
  • 6: Go straight down to the top row of the bottom rotor to recieve a new letter.
  • 7: Find the new letter in the bottom row of the bottom rotor.
  • 8: Go straight down to the top row of the reflector to recieve a new letter.
  • 9: Find the new letter in the bottom row of the reflector.
  • 10: Go straight up to the bottom row of the bottom rotor to recieve a new letter.
  • 11: Find the new letter in the top row of the bottom rotor.
  • 12: Go straight up to the bottom row of the middle rotor to recieve a new letter.
  • 13: Find the new letter in the top row of the middle rotor.
  • 14: Go straight up to the bottom row of the top rotor to recieve a new letter.
  • 15: Find the new letter in the top row of the top rotor.
  • 16: Go straight up to the plugboard row to recieve your decrypted letter.

The example below uses I as the letter which will decrypt it to F.

Step 3C: Rotor Turning Mechanics

This next section talks about how rotor turning mechanics work.

You will notice a couple letters on the bottom row of the rotors have an * next to them. Depending on which rotor it’s on will have different effects:

  • If the asterisk is at the leftmost edge of the middle rotor, all 3 rotors will turn
  • Otherwise, if the asterisk is at the left most edge of the right/top rotor, both the middle and top/right rotor will turn.
  • Otherwise, only the right/top rotor will turn
  • Each turn only goes up 1 step on the rotor (Ex: A -> B, G -> H, Z -> A, etc.)

Repeat steps 3B and 3C for each letter of your word to get your decrypted word.

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.