HomeCiphers › Date Shift

Date Shift

The shift changes with every letter, so the same letter rarely looks the same twice. Much harder to break than a plain shift.

Rail Fence

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

How it works

Take a date, such as October 21, 1973, and write it as 102173. Repeat those digits above your message. Each letter shifts forward by the digit sitting on top of it. Now the two E’s in FEET turn into different letters, which makes life very hard for a code-breaker.

  1. Write the key digits over and over above the message.
  2. Shift each letter forward by the digit above it.
  3. To read it, shift backwards instead.

The story

New Jersey, 1917

The code nobody has ever broken

Gilbert Vernam, an American engineer, worked out that if the shift changes with every single letter, and the list of shifts is completely random, and you never use that list twice, the cipher cannot be broken. Not by a clever person, not by a computer, not ever. It is called a one-time system. The catch is the list: both people need the same one, and a fresh one for every message.

Crack these

Why was the computer cold?
What do you call a dinosaur that is fast asleep?
← Shift Cipher All the ciphers Key Word Alphabet →

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.

One-time pad