HomeCiphers › Simple Substitution

Simple Substitution

Any letter for any letter, with no pattern at all. The strongest one-letter cipher there is, and the hardest to remember.

Rail Fence

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

How it works

Write the alphabet, then write a completely scrambled alphabet underneath. Every letter swaps for the one below. There is no pattern at all, which makes it the strongest one-letter-at-a-time cipher there is, and the most annoying to use.

  1. Agree a scrambled alphabet.
  2. Swap every letter for its partner.

The catch is the key: twenty-six letters in no order, which nobody can remember. That is why the key word alphabet exists.

The story

Everywhere, for centuries

The cipher everybody invents

Give a child a pencil and half an hour and they will invent this one: a scrambled alphabet, each letter swapped for another. It has more keys than there are atoms in a room, and Al-Kindi worked out how to break it in ninth century Baghdad by counting letters. Every generation since has invented it again, been delighted, and been broken by the same trick.

Crack these

Why did the picture go to jail?
What is a tree’s least favourite month?
← One-Time Pad All the ciphers Trithemius →

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.

Substitution ciphers