Caesar cipher · 07 Try it yourself

Caesar cipher: try it yourself

Three exercises to solve with pen and paper: encrypt, decrypt with the key, and break a message without the key.

You need pen, paper and, if you like, the interactive wheel on the site’s home page. Solutions are at the bottom of the page: try on your own first.

  1. 01
    Exercise 1 · Encrypt

    Encrypt the word SECRET with key 3.

  2. 02
    Exercise 2 · Decrypt

    Decrypt FRGH knowing that the key is 3.

  3. 03
    Exercise 3 · No key

    This message was encrypted with an unknown key: MFHPJW. Find the key by trying the shifts, or by looking for a word that makes sense.

Hints

For exercise 3 it helps to build a table with the first two cipher letters (M and F) shifted back by 1, 2, 3… positions, stopping when the beginning of a plausible English word appears. It is brute force done by hand.

Solutions

Solution to exercise 1

SECRET becomes VHFUHW.

Solution to exercise 2

FRGH becomes CODE.

Solution to exercise 3

The key is 5 and the message is HACKER.

Continue with
08 FAQ

Caesar cipher: frequently asked questions

Short answers to the most common doubts about the Caesar cipher and its variants.

↑