Skip to content
Book of Riddles

The rules in brief

Every puzzle hides one sentence in a secret script. You decode it letter by letter: click a box and type the letter you think is behind it. Boxes with the same sign are filled in together.

Depending on the method, the page offers tools, such as a Caesar disc, an alphabet strip, a Polybius square or a table of letter frequencies. Hints reveal single letters.

Each puzzle has exactly one sensible plaintext. If your sentence contains a word that does not exist, one of the letters is wrong.

Level
Status

Showing 40 of 40 puzzles

The six kinds

How each script works and what is known of its history. Every statement comes with its source and the exact words.

Caesar cipher

Every letter moves the same number of places along the alphabet. With a shift of 3, A becomes D. The key is the number, and with only 25 numbers to try the cipher is easy to break.

Open the tool: Caesar cipher

  • The Roman biographer Suetonius writes that Caesar put confidential letters in cipher: to read them you had to put the fourth letter after each one, D for A.

    Source

    Suetonius, De vita Caesarum, Divus Iulius 56, English translation by J. C. Rolfe (Loeb, 1913/14), LacusCurtius

    if he had anything confidential to say, he wrote it in cipher, that is, by so changing the order of the letters of the alphabet, that not a word could be made out. If anyone wishes to decipher these, and get at their meaning, he must substitute the fourth letter of the alphabet, namely D, for A, and so with the others.
  • The method is named after Julius Caesar, who used it in his private letters.

    Source

    Wikipedia (en), „Caesar cipher“

    The method is named after Julius Caesar, who used it in his private correspondence.
  • Like every cipher with a single alphabet, the Caesar shift is easy to break; there are only 25 possibilities.

    Source

    Wikipedia (en), „Caesar cipher“

    As with all single-alphabet substitution ciphers, the Caesar cipher is easily broken and in modern practice offers essentially no communications security.

Atbash cipher

The alphabet is turned round: A becomes Z, B becomes Y. There is no key at all, so you only need to know the trick.

Open the tool: Atbash cipher

  • Atbash is a substitution cipher with a single alphabet, first used for the Hebrew alphabet.

    Source

    Wikipedia (en), „Atbash“

    is a monoalphabetic substitution cipher originally used to encrypt the Hebrew alphabet.
  • The alphabet is simply turned round: the first letter becomes the last, the second the second to last, and so on.

    Source

    Wikipedia (en), „Atbash“

    the first letter becomes the last letter, the second letter becomes the second to last letter, and so on.
  • Tradition: Commentators read the puzzling “Sheshach” in the Book of Jeremiah as an Atbash spelling of Babylon. That is an interpretation, not proof.

    Source

    Wikipedia (en), „Atbash“

    Jeremiah 25:26 – "The king of Sheshach shall drink after them" – Sheshach meaning Babylon in Atbash

Polybius square

Each letter becomes two numbers, its row and column in a square of five by five. I and J share a square. A keyword can shuffle the square.

Pigpen cipher

Each letter is drawn as the part of a grid that surrounds it. The signs look like secret writing, but it is a plain substitution, so it falls to counting like any other.

Open the tool: Pigpen cipher

  • The Rosicrucians and the Freemasons used variations of it, the latter so often that it is frequently called the Freemason’s cipher.

    Source

    Wikipedia (en), „Pigpen cipher“

    Variations of this cipher were used by both the Rosicrucian brotherhood and the Freemasons, though the latter used the pigpen cipher so often that the system is frequently called the Freemason's cipher.
  • One of the earliest gravestones in Trinity Church Cemetery in New York, opened in 1697, carries text in this cipher: “Remember death”.

    Source

    Wikipedia (en), „Pigpen cipher“

    One of the earliest stones in Trinity Church Cemetery in New York City, which opened in 1697, contains a cipher of this type which deciphers to "Remember death"
  • Tradition: It is said that the cipher is ancient and came from Hebrew rabbis. That is tradition, not documented fact.

    Source

    Wikipedia (en), „Pigpen cipher“

    The cipher is believed to be an ancient cipher and is said to have originated with the Hebrew rabbis.

Vigenère cipher

A keyword shifts every letter by a different amount, again and again. The same plain letter turns into different secret letters, which is why counting letters stops working.

Open the tool: Vigenère cipher

  • Giovan Battista Bellaso described it first, in 1553. It resisted every attempt to break it until 1863, three centuries later.

    Source

    Wikipedia (en), „Vigenère cipher“

    First described by Giovan Battista Bellaso in 1553, the cipher is easy to understand and implement, but it resisted all attempts to break it until 1863, three centuries later.
  • In the 19th century it was wrongly credited to Blaise de Vigenère and so got its present name.

    Source

    Wikipedia (en), „Vigenère cipher“

    In the 19th century, the scheme was misattributed to Blaise de Vigenère (1523–1596) and so acquired its present name.
  • The tabula recta, the table of letters that goes with this cipher, was invented by Johannes Trithemius.

    Source

    Wikipedia (en), „Vigenère cipher“

    invented the tabula recta, a critical component of the Vigenère cipher.
  • Friedrich Kasiski was the first, in 1863, to publish a general method for breaking it.

    Source

    Wikipedia (en), „Vigenère cipher“

    In 1863, Friedrich Kasiski was the first to publish a general method of deciphering Vigenère ciphers.

Cryptogram (cryptoquote)

Every letter is replaced by another letter, always the same one. There are more ways to shuffle the alphabet than anyone could try, yet word patterns and letter counts crack it.

  • The oldest known description of how to crack simple substitution ciphers is by al-Kindi, around 850, in his treatise on deciphering cryptographic messages.

    Source

    Wikipedia (en), „Substitution cipher“

    The first ever published description of how to crack simple substitution ciphers was given by Al-Kindi in A Manuscript on Deciphering Cryptographic Messages written around 850 AD.
  • Al-Kindi advises taking another text in the same language and counting its letters, then comparing with the secret message.

    Source

    Wikipedia (en), „Al-Kindi“ (translation of the treatise on deciphering messages)

    One way to solve an encrypted message, if we know its language, is to find a different plaintext of the same language long enough to fill one sheet or so, and then we count the occurrences of each letter.
  • In English, E, T, A and O are the most common letters, while Z, Q, X and J are rare.

    Source

    Wikipedia (en), „Frequency analysis“

    given a section of English language, E, T, A and O are the most common, while Z, Q, X and J are rare.

More from the collection