HomeCiphers › Lewis Carroll's Table

Lewis Carroll's Table

A square of 26 alphabets. The key word picks a different one for every letter, which is why it held for centuries.

Rail Fence

Press Run it to start the machine.
0 / 0
Result

How it works

Lewis Carroll, who wrote Alice’s Adventures in Wonderland, published this cipher on a card in 1868. The table holds 26 alphabets, each one shifted along by a step. Write your key word over the message; the key letter picks the column, the message letter picks the row, and where they cross is your cipher letter.

  1. Repeat the key word above the message.
  2. Find the column headed by the key letter.
  3. Run down to the row of your message letter and take the letter where they meet.

The story

Oxford, 1868

The cipher Alice’s author thought was unbreakable

Lewis Carroll, who wrote Alice’s Adventures in Wonderland, was a mathematician at Oxford. He published this table anonymously on a single card and claimed nobody could read a message without the key word. He was slightly wrong: Charles Babbage and a Prussian officer named Kasiski had already found a way in, by spotting how often the key word repeats. It is still a very good cipher.

Crack these

What do you call a bear with no teeth?
Why did the bicycle fall over?
← Polybius Squares All the ciphers Playfair →

Take it off the screen

Print this page and you get a worksheet: how the cipher works, where it came from, and the puzzles to crack, with the machine and the menus left off.

Print this page as a worksheet Try the challenges

Read more elsewhere

Longer, harder and written for grown-ups. Worth a look when this page runs out.

Vigenere cipher