Welcome, codebusters! The Nihilist cipher turns letters into numbers using a special grid, then adds a secret key to scramble everything. Let's break it down!
The Nihilist cipher has three ingredients:
The result? A series of two-digit numbers that hide your message!
Encrypt the message: ROCKET
Grid keyword: COMET Key
phrase: MARS
Take the keyword COMET and write its
unique letters first, then fill in the rest of the
alphabet (skipping any letters already used, and combining I/J into one
cell):
Starting with C, O, M, E, T, then continue with A, B, D, F, G, H, I/J, K, L, N, P, Q, R, S, U, V, W, X, Y, Z:
1 2 3 4 5
āāāāāā¬āāāāā¬āāāāā¬āāāāā¬āāāāā
1 ā C ā O ā M ā E ā T ā
āāāāāā¼āāāāā¼āāāāā¼āāāāā¼āāāāā¤
2 ā A ā B ā D ā F ā G ā
āāāāāā¼āāāāā¼āāāāā¼āāāāā¼āāāāā¤
3 ā H ā I/Jā K ā L ā N ā
āāāāāā¼āāāāā¼āāāāā¼āāāāā¼āāāāā¤
4 ā P ā Q ā R ā S ā U ā
āāāāāā¼āāāāā¼āāāāā¼āāāāā¼āāāāā¤
5 ā V ā W ā X ā Y ā Z ā
āāāāāā“āāāāā“āāāāā“āāāāā“āāāāā
How to read it: Each letter gets a 2-digit number ā the row first, then the column.
Look up each letter of ROCKET in the grid:
| Letter | Row | Column | Number |
|---|---|---|---|
| R | 4 | 3 | 43 |
| O | 1 | 2 | 12 |
| C | 1 | 1 | 11 |
| K | 3 | 3 | 33 |
| E | 1 | 4 | 14 |
| T | 1 | 5 | 15 |
Plaintext numbers:
43 12 11 33 14 15
Now look up each letter of the key MARS in the
same grid:
| Letter | Row | Column | Number |
|---|---|---|---|
| M | 1 | 3 | 13 |
| A | 2 | 1 | 21 |
| R | 4 | 3 | 43 |
| S | 4 | 4 | 44 |
Key numbers: 13 21 43 44
Our message has 6 letters, but our key only has 4 numbers. So we repeat the key:
Plaintext: R O C K E T
43 12 11 33 14 15
Key: M A R S M A
13 21 43 44 13 21
ā key starts over āāāāāāā
Simply add each plaintext number to its matching key number:
| Plaintext | Key | Sum (Ciphertext) |
|---|---|---|
| 43 | 13 | 56 |
| 12 | 21 | 33 |
| 11 | 43 | 54 |
| 33 | 44 | 77 |
| 14 | 13 | 27 |
| 15 | 21 | 36 |
ā
Ciphertext:
56 33 54 77 27 36
You received this ciphertext: 56 33 54 77 27 36 You
know the grid keyword is COMET and the key phrase is
MARS.
(Same grid as before ā use keyword COMET)
1 2 3 4 5
āāāāāā¬āāāāā¬āāāāā¬āāāāā¬āāāāā
1 ā C ā O ā M ā E ā T ā
āāāāāā¼āāāāā¼āāāāā¼āāāāā¼āāāāā¤
2 ā A ā B ā D ā F ā G ā
āāāāāā¼āāāāā¼āāāāā¼āāāāā¼āāāāā¤
3 ā H ā I/Jā K ā L ā N ā
āāāāāā¼āāāāā¼āāāāā¼āāāāā¼āāāāā¤
4 ā P ā Q ā R ā S ā U ā
āāāāāā¼āāāāā¼āāāāā¼āāāāā¼āāāāā¤
5 ā V ā W ā X ā Y ā Z ā
āāāāāā“āāāāā“āāāāā“āāāāā“āāāāā
MARS ā 13 21 43 44 (same as before)
Repeat to match ciphertext length:
13 21 43 44 13 21
This is the reverse of encryption ā instead of adding, we subtract:
| Ciphertext | Key | Difference (Plaintext #) |
|---|---|---|
| 56 | 13 | 43 |
| 33 | 21 | 12 |
| 54 | 43 | 11 |
| 77 | 44 | 33 |
| 27 | 13 | 14 |
| 36 | 21 | 15 |
| Number | Row | Column | Letter |
|---|---|---|---|
| 43 | 4 | 3 | R |
| 12 | 1 | 2 | O |
| 11 | 1 | 1 | C |
| 33 | 3 | 3 | K |
| 14 | 1 | 4 | E |
| 15 | 1 | 5 | T |
ā
Plaintext: ROCKET šš
Decrypt this ciphertext using grid keyword COMET and key phrase MARS:
57 36 64 87
Hint: Build the same grid, convert MARS to numbers, and subtract!
Step 1: Build the COMET Polybius square (same as above).
Step 2: Convert MARS to key numbers: M=13, A=21, R=43, S=44
Step 3: Subtract key from ciphertext:
Plaintext: STAR ā
Happy number crunching! šš