
The results can be two-digit or three-digit numbers. Both the secret key (used for creating the table) and the secret key (used for encrypting all messages) must be shared between the communicating parties.ĭuring encryption one should add one by one all the numbers created from plaintext letters to the numbers created from the secret key's letters. The secret key is used during encryption of the whole communication. The secret key is usually different than the secret word used for create the table in the previous step. Usually the parties use an alphabetical order.īoth rows and columns of the table are numbered from 1 to 5.įor example, if a full name of the tsar Alexander II killed by Nihilists (Aleksandr II Nikolaevich) is used as the secret word, then the table can be written as below:Įach letter of the secret key and each letter of a given message is changed into a two-digit number, determined by digits of rows and columns.

The rest of empty cells are filled with the rest of letters, which aren't contained by the secret word. However, the parties can agree to the different order. Usually the letters are written starting from the top leftmost cell and going to the right, row by row. To determine the order of letters, one should remove duplicate letters of the secret word and then enter the rest letters into the table. It has 5 rows and 5 columns and it is filled with all Latin letters (there are 26 Latin letters, so usually the letters i and j are treated as one character).Īn order of letters in the table depends on a secret word which is shared by the two communicating parties.

AlgorithmĪn algorithm of the Nihilist cipher uses a matrix called a Polybius square. One of ciphers which belongs to the Nihilist family of ciphers is the VIC cipher.

The original algorithm was not very strong but there are some modifications which provide much better security. They killed the tsar Alexander II in the successful assassination in 1881. The cipher is named after the Nihilist movement, who fought against czarism in Russia and attacked czarism's officials in the nineteenth century. Nihilist Cipher Polyalphabetic Substitution Cipherįirst used in the eighties of the nineteenth century in Russia by Nihilist organizations.
