Skip to content
How to start
Menu
A beginner matches colored symbol cards while solving a paper substitution-cipher puzzle at a desk

Indoor hobbies

How to start cryptography by breaking a Caesar cipher

Cost to start
USD 0 with paper and pencil

Paper and pencil or a text editor you already use

Difficulty
Beginner

Basic alphabet positions; programming is optional

First result
A puzzle encrypted and decoded

Allow 45–60 minutes to write and check a second puzzle

Learn the difference between puzzles and secure encryption, shift a short message by hand, and crack it again with a simple, repeatable method.

What you need to know

  1. Begin with historical pencil-and-paper ciphers

    Caesar shifts and simple substitutions make keys, encryption, decryption, and attacks visible. They are learning puzzles, not tools for protecting real information.

  2. Use invented, harmless messages

    Practice with a weather report, book sentence, or clue you wrote yourself. Never test on another person's account, traffic, device, or private communication.

  3. Keep the alphabet and key beside you

    Writing two aligned alphabets prevents guessing. Record spaces and punctuation unchanged so the recipient can separate words after reversing the shift.

  4. Attack your own result

    A cipher becomes more instructive when you try every possible key and compare the outputs. Breaking it explains why a method is weak better than a warning alone.

Learn the five pieces of the exercise

Plaintext is the readable message. An algorithm is the rule that transforms it. A key selects one version of the transformation. Ciphertext is the scrambled output. Write A to Z in a row. Below the A put D, below B put E, and continue, wrapping through A, B and C at the far end. Your key is a forward shift of three.

Try the invented plaintext LAZY CAT. L becomes O, A becomes D, Z wraps to C and Y wraps to B. Leave the space alone. The complete ciphertext is ODCB FDW. To check it, find each lower-row letter and read the letter above it. ODCB gives LAZY and FDW gives CAT. If you read ODCE, look at the Y column again. Now make a fresh message and shift for a friend.

The English alphabet offers only 25 meaningful non-zero Caesar shifts. An attacker can reverse each possible shift and scan for readable words. Start from key 1, shift every ciphertext letter backward by one, and write the result on a numbered line.

Make the experiment repeatable

Record your plaintext, algorithm, key, ciphertext, and attack in a small lab note. Include one mistake and how you found it. This habit separates a reproducible exercise from a page of unexplained symbols.

Move from shifts to analysis

For session two, create a slightly longer Caesar ciphertext, remove spaces, and ask a friend to solve it without the key. Compare their approach with brute force.