Caesar cipher worksheet

Encrypt, decrypt and crack the Caesar cipher. With a cipher wheel to cut out and a math corner on modular arithmetic.

Level
Variant
encode-decode.com · ClassroomLevel 2 · Standard (ages 12–15) · Variant 1

The Caesar cipher

NameClassDate

Julius Caesar hid his letters by moving every letter a fixed number of places along the alphabet. With a shift of 10, A becomes K, B becomes L and so on. At the end of the alphabet you start again at A.

Every letter has a number. That makes the cipher a calculation.

ABCDEFGHIJKLMNOPQRSTUVWXYZ
012345678910111213141516171819202122232425

Task 1 Encrypt this message with a shift of 10.

WE ATTACK AT DAWN

Task 2 These messages were encrypted with a shift of 8. Decrypt them: move every letter 8 places back.

BPM ZWJWB LIVKMA IB UQLVQOPB
MDMZG OWWL KWLM VMMLA I SMG

Task 3 This message was encrypted with an unknown shift. One of its words is FRIDAY. Find the shift and decrypt the message.

HVS HSGH WG CB TFWROM
Shift: ______

Task 4 Math corner

Encrypting is adding: c = (p + k) mod 26. “mod 26” means: if the result is 26 or more, subtract 26.

Letterpkp + kmod 26Cipher
N1310
D310
A010

You encrypt with a shift of 11 and then encrypt the result again with 18. Which single shift does the same? ______

encode-decode.com/classroom/ · Variant 1 · Free to copy for use in class
encode-decode.com · Classroom

Cipher wheel to cut out

Cut out both discs. Put the small disc on the large one and push a split pin (or a pencil) through both centers. Turn the inner disc until A on the outside is above the cipher letter for A. Now read plain letters outside and cipher letters inside. The numbers help with the math corner.

ABCDEFGHIJKLMNOPQRSTUVWXYZ A0B1C2D3E4F5G6H7I8J9K10L11M12N13O14P15Q16R17S18T19U20V21W22X23Y24Z25
ABCDEFGHIJKLMNOPQRSTUVWXYZ A0B1C2D3E4F5G6H7I8J9K10L11M12N13O14P15Q16R17S18T19U20V21W22X23Y24Z25
encode-decode.com/classroom/ · Variant 1 · Free to copy for use in class
encode-decode.com · ClassroomLevel 2 · Standard (ages 12–15) · Variant 1

Answer key: The Caesar cipher

For teachers. Same variant number, same answers.

Task 1
GO KDDKMU KD NKGX
Task 2
THE ROBOT DANCES AT MIDNIGHT
EVERY GOOD CODE NEEDS A KEY
Task 3
Shift 14: THE TEST IS ON FRIDAY
Task 4
N: 13 + 10 = 23 → 23 = X · D: 3 + 10 = 13 → 13 = N · A: 0 + 10 = 10 → 10 = K
11 + 18 = 29 → 3
encode-decode.com/classroom/ · Variant 1 · Free to copy for use in class

What students learn

  • Encrypt and decrypt with a shift
  • Find an unknown shift by trying or by clues
  • Write the cipher as (p + k) mod 26
  • Explain why 25 keys are far too few

Tip: show the method in the projector mode first. Students who finish early can go on with a class challenge.

Searches the list of pages on this site. What you type stays in your browser.