Codes, ciphers and cracking

Lock a message,
then break one

Encrypt and decrypt with four classical ciphers, or paste a Caesar-shifted message and let the page try all 26 shifts and rank them by how English they look. Letter counts show why some ciphers fall and others hold out longer.

Encrypt, decrypt or crack a message

The letters are worked out on this page. Nothing is sent anywhere.

Loading Cryptography Challenge Workbench. If nothing appears, turn on JavaScript.

What you get

Academics · Study SkillsOpen to everyone · no sign-in

What you finish with
A worked-out result for your own entry (a headline figure, tiles, tables and a drawing where one helps), as a printout, a spreadsheet (.csv) or a saved file.
Who it is for
Students and puzzle fans learning how classical ciphers work and why they can be broken.
Format
Browser tool for a phone, tablet or computer: type or paste, the result updates as you type. Print, spreadsheet (.csv), save to a file and open it again.
Access
Open to everyone with the link: no account, no sign-in, nothing to buy and nothing to install. Everything you type stays in this browser; nothing is sent to Caveat.
Where it lives
The Study Skills space in Caveat Academics.
Support
Questions about access, an order or a correction: team@caveatacademic.com.

How to use it

  1. Load the worked example to see how it reads, or start with your own entry.
  2. Type or paste into the fields; the result updates as you type.
  3. Read the headline, the tiles and the tables.
  4. Try a second case from the buttons above the fields.
  5. Print the result, download a spreadsheet or save the entry to a file.

Try a cipher

How it works

How a classical cipher is used and broken.

How the cracking works

For each of the 26 possible shifts the page shifts the message back and compares its letter counts with typical English using a chi-squared score. The lowest score is the closest to English. Short messages can fool it, which is why the table shows the next best shifts too.

What each cipher does

Caesar moves every letter the same distance along the alphabet. Atbash reverses the alphabet. Vigenère shifts each letter by the matching letter of a repeating keyword. A rail fence writes the message in a zigzag across rails and reads it off row by row.

Sources

  1. Singh, S. (1999). The Code Book. Doubleday.
  2. Lewand, R. (2000). Cryptological Mathematics. Mathematical Association of America (English letter frequencies).
  3. Kahn, D. (1996). The Codebreakers (revised ed.). Scribner.

The worked examples are invented for illustration. What you type is saved only in this browser and is never sent to Caveat. Support: team@caveatacademic.com.

Written with AI, then checked before it is published. How we checkFound a mistake? Report it and we fix it, or refund you.Cancel anytime.