HomeCiphers › Binary

Binary

On or off, eight times over, and that is a letter. Everything you have ever typed is this underneath.

Rail Fence

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

How it works

A computer has only two things to work with: on and off, written as one and nought. Eight of them in a row make a number up to 255, and every letter has an agreed number. That is all text is, anywhere, ever.

  1. Find the letter’s number.
  2. Write that number in ones and noughts.

Bacon got there three hundred years early with his A and B. The only difference is the name.

The story

Everywhere you look, now

Two states, and nothing else

A switch is on or off. A hole is punched or not. A voltage is high or low. Every photograph, song and message you have ever seen arrives as a river of these two states, and the only reason it works is that two states are the easiest thing in the world for a machine to tell apart. Bacon got there in 1605 with A and B; the machines caught up three hundred years later.

Crack these

Decode these switches.
And these.
← Trithemius All the ciphers Tap Code →

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.

Every cryptography topic