Ciphers in the classroom

Free · no sign-up · nothing to install

Ready-made material for computer science and math: a projector mode for Caesar, Vigenère and frequency analysis, printable worksheets with answer keys, and class challenges your students open straight from Teams or Google Classroom.

How it works

A lesson in three steps

  1. ShowThe projector mode makes every shift visible. Hide the result, let the class guess, reveal it letter by letter.
  2. PracticePrint a worksheet at the right level. Each class gets its own variant, and the answer key always matches.
  3. Crack itPost a challenge link in Teams or Google Classroom. Students who finish show you their proof code.
Lesson plans

Three lessons, ready to teach

Use them as they are or adapt them. Every link opens the right tool.

Secret messages with Caesar45 minutes · ages 10–14
  1. 5 min
    Hook

    Show a secret message in the projector mode with the result hidden. Who can guess the rule?

  2. 10 min
    Explain

    Turn the wheel and step through letter by letter. The math line shows (p + k) mod 26.

  3. 20 min
    Practice

    Caesar worksheet, level 1 or 2, with a cipher wheel to cut out.

  4. 10 min
    Crack it

    The first two stages of the mission The Missing Mascot. Exit question: why is Caesar not safe?

Cracking codes by counting45 minutes · ages 12–16
  1. 5 min
    Recap

    Caesar has only 25 keys. What if there were millions?

  2. 15 min
    Crack it together

    Frequency analysis in the projector mode: compare the bars, find the shift, then solve a substitution as a class.

  3. 20 min
    Practice

    Frequency analysis worksheet, level 1 or 2. In math: calculate relative frequencies.

  4. 5 min
    Reflect

    Why does this work for long texts, but not for “HI BOB”?

From Vigenère to modern encryption90 minutes or project · ages 14+
  1. 15 min
    Show Vigenère

    Vigenère table in the projector mode: row and column light up, step by step.

  2. 25 min
    Known-plaintext attack

    Vigenère worksheet, level 3: find the key with k = c − p.

  3. 35 min
    Mission

    The Codebreaker’s Notebook: five pages, from Caesar to substitution. Proof code at the end.

  4. 15 min
    Outlook

    What does AES do differently? Key length, no patterns, open algorithms. More in the Academy.

Curriculum

Fits computer science and math

Computer science

  • Encryption and decryption, keys, plaintext and ciphertext
  • Attacks: trying every key, frequency analysis, known plaintext
  • Why modern ciphers like AES work differently
  • In the US: CSTA standard 2-NI-06, “apply multiple methods of encryption”

Math

  • Modular arithmetic: (p + k) mod 26
  • Relative frequency, bar charts, comparing distributions
  • Counting: 25 Caesar keys, 26ⁿ keywords, 26! substitutions
  • For older students: chi-squared as a measure of “looks like English”
For students

Got a link from your teacher?

Just open it and start. Your progress stays in your browser. When you finish, you get a proof code for your teacher.

Questions teachers ask

How much does it cost?

Nothing. Projector mode, worksheets, answer keys and challenges are free to use, with no sign-up.

Do students need an account?

No. They open the link from Teams, Google Classroom or your LMS and start. No names or data are sent to us. Challenge progress is saved only in their own browser.

Can students find the answers?

Student links contain no answers, only check values. The answer keys of the ready-made missions are public, so that teachers can use them without signing up. For graded work, create your own challenge: only you have the link to its answer key.

Does it work on iPads, Chromebooks and tablets?

Yes, in any current browser. Challenges also work on phones.

Can I copy the worksheets?

Yes, as often as you like for teaching. Please keep the footer with the address.

Is it available in other languages?

Everything is available in English and German. The switch is next to every headline.

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