Challenges
Nihilist cipher
Cryptography
Medium
Nihilist cipher
Solves: 7
Nihilist cipher
Author: CyberSamSU
Points
60
The Nihilist cipher was used by secret organizations in the Russian Empire in the XIX century. It combines two ideas: the Polybius square and a Vigenere-style key.
Encryption is performed in three steps:
- A 5x5 Polybius square mixed with a keyword is constructed.
- Each letter of the plaintext is converted into a two-digit number according to the square.
- The number of the corresponding letter of the additional keyword is added to each number (modulo is not taken, so the result can also exceed 100).
Square key: SAMARQAND — repeating letters are discarded, then the remaining letters of the alphabet are written (I and J are in the same cell):
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
1 | S | A | M | R | Q |
2 | N | D | B | C | E |
3 | F | G | H | I/J | K |
4 | L | O | P | T | U |
5 | V | W | X | Y | Z |
Addition key: KALIT (repeated along the text).
Ciphertext:
46 45 53 48 59 69 66 63 46 58 86 54 96 46
Place the decrypted word into the flag: BAYROQ{KL4SS1K_<soz>}
To submit a flag, log in.