Cryptography

Crack the code. Six lessons on sending messages over a distance and keeping them secret. Children hide messages with simple ciphers, signal with flags, send Morse code as on and off, turn a cipher wheel, crack a secret message by counting its letters, and work an Enigma machine. Along the way they learn what a key is, why some codes are easy to break, and how the same ideas keep messages safe on the internet today. Everything you need to teach it is on this page.

  • 6 lessons of about 50 minutes
  • Ciphers, semaphore, Morse code and Enigma
  • Written for Year 5, works for Years 4 to 6
  • 70 slides

Before you teach

The six lessons

  1. 1
    Hide it: How can you send a message that only your friend can read?Children learn to encrypt and decrypt simple messages in three different ways. They make a secret message for a partner, in a cipher of their choice.
  2. 2
    Signal it: How can you send a message to someone too far away to hear you?Children learn to send and read messages in flag semaphore. They make a word signalled across the hall with flags.
  3. 3
    Tap it: How can a message travel along a wire?Children learn to encode and decode Morse code, and see it as on and off. They make a Morse code message sent by torch or by tapping.
  4. 4
    Shift it: How did Julius Caesar keep his messages secret?Children learn to encode and decode messages with a shift cipher and a key. They make a cipher wheel, and a message for a partner to decrypt.
  5. 5
    Crack it: How can you read a secret message without the key?Children learn to use frequency analysis to work out the key to a shift cipher. They make a tally chart of a secret message, and its cracked text.
  6. 6
    Scramble it: Why was the Enigma machine so hard to crack, and who cracked it?Children learn to explain how Enigma works, and where encryption is used today. They make a message encrypted and decrypted on an Enigma machine.

Sheets and assessment