The workshop
Encrypt and decrypt your own messages with the methods of spies, kings and codebreakers, from Caesar to the Enigma machine. Everything happens in your browser: nothing is sent.
The Caesar cipher
Profiles: The Caesar cipher · Alberti’s cipher disk
Each letter moves forward by the same number of places in the alphabet. Turn the wheel or set the shift, then try all 25 shifts to break a message.
Atbash
Profiles: Atbash
The alphabet is turned round: A becomes Z, B becomes Y… Encrypting twice gives back the original message.
The Vigenère cipher
Profiles: The Vigenère cipher · Trithemius’s tabula recta · Charles Babbage
Each letter of the keyword gives a different shift (A = 0, B = 1… Z = 25). The keyword repeats all along the message.
The Polybius square
Profiles: The Polybius square · The ADFGVX cipher
Each letter becomes two digits: its row number, then its column number. I and J share the same cell.
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
| 1 | A | B | C | D | E |
| 2 | F | G | H | I/J | K |
| 3 | L | M | N | O | P |
| 4 | Q | R | S | T | U |
| 5 | V | W | X | Y | Z |
The pigpen cipher
Profiles: The pigpen cipher
Each letter is replaced by the shape of the cell around it in the grids, with or without a dot. To decrypt, click on the symbols.
Decrypt: click on the symbols
The scytale
Profiles: The Spartan scytale
The message is written along a stick wrapped in a strip. The number of letters per turn of the stick is the key. Spaces are removed, and Xs fill the last row.
The rail fence cipher
Profiles: The rail fence cipher
The letters are written in waves over several rows, then read row by row. The number of rows is the key. Spaces are removed.
Morse code
Profiles: Morse code
Each letter becomes a series of dots and dashes. Letters are separated by a space, words by a slash “/”. You can also listen to the message.
The Morse alphabet
Braille
Profiles: Braille
Each letter is a cell of six raised dots. To decrypt, paste braille characters or build a letter by clicking on the dots.
Build a letter
⠀ ?
Binary code
Profiles: ASCII
Computers write each character with 0s and 1s. A plain letter fits in 8 bits; an accented letter needs 16.
The Enigma machine
Profiles: The Enigma machine · Marian Rejewski · The Turing Bombe
A simulation of the German army’s Enigma I: three rotors chosen from five, a reflector and a plugboard. With the same starting settings, encrypting and decrypting give the same result.
Frequency analysis
Profiles: Al-Kindi · The Gold-Bug
Count the letters in a text and compare them with the language’s average frequencies. The text provided is encrypted with Caesar: which letter comes up most often?
your text average frequency in the language (approx.)
Challenges
Eight messages to decrypt with the workshop tools. The answers are not written in the page: only their fingerprint is stored, as with a password.
ZHOO GRQH BRX IRXQG WKH FRGH
Hint: A shift of three, like Julius Caesar.
GSV GIVZHFIV RH FMWVI GSV YIRWTV
Hint: The alphabet is turned round.
-- .. ... ... .. --- -. / -.-. --- -- .--. .-.. . - .
Hint: Dots and dashes…
43 45 33 43 23 24 33 15
Hint: Row, then column.
TEPIITEADNHSYSNHGRE
Hint: Only two rows.
TSSHWLEOEPRMADOSIN
Hint: Three letters per turn of the stick.
WICD QC KX LYSL
Hint: The keyword has three letters and opens locks.
KLBDI KRYLY NMN
Hint: Rotors I, II, III, reflector B, everything on A, no plugs.