Encryption Explorer

Make a secret message. Use the key to reveal it again.

CS GCSE (2025) §1.3.2Digital Technology GCSE (2026) §1.5.1; 1.2.4CS A-level Unit 4Digital Technology A-level Unit 3, 2.3.2

Caesar cipher

One shift for every letter

Up to 120 characters. Spaces and punctuation stay unchanged.

3

Same number to encrypt and decrypt.

3 Run an action
READY

Ready. Press Encrypt or Decrypt.

Your message

HELLO WORLD
Choose an action

Result

Press an action button to see the result

Encrypt moves letters forward. Decrypt moves them back using the same key.

Show letter steps

Run Encrypt or Decrypt to see the steps for your message. At A or Z, continue around the alphabet.

Try it: Encrypt the example, use the result as your message, then decrypt with the same key. What do you notice?

Learning model: Caesar and Vigenère are historical ciphers. They are easy to break and do not provide modern secure encryption.

Teacher notes Curriculum, activities and background

Purpose before arithmetic

Encryption protects confidentiality by transforming readable data into ciphertext using an algorithm and key. Decryption recovers the message with the appropriate key. Use these historical examples to illustrate the idea, then discuss protecting stored data and data in transit.

The two action buttons deliberately wait for a pupil's choice. Changing a message or key clears the result. Ask pupils to predict one letter, run the action, then explain why decrypting reverses it. Cipher arithmetic is enrichment for GCSE 1.3.2; the requirement here is understanding encryption as a protection method.

Caesar has only 25 non-zero shifts, so trying every key is easy. Repeating-key Vigenère is also insecure. The optional key-types view preserves the deeper comparison for older learners.