LightMySky

Symmetric Encryption and What a Cipher Promises

A symmetric cipher turns readable data into something unreadable using a shared key, and the promise is narrow: an eavesdropper learns nothing about the contents. It says nothing about who sent the message, whether it was altered, or how the key got to both ends.

No account needed. Progress saves in this browser.

What a learner can do afterwards

  • State exactly what a cipher protects and three things it does not
  • Explain why reusing a key stream across two messages leaks information
  • Say why the security has to rest on the key rather than on the method staying secret

1 · Read

A symmetric cipher turns readable data into something unreadable using a shared key. The same key locks and unlocks: the sender scrambles with it, the receiver unscrambles with that very same key, and anyone without it just sees nonsense. Both ends must hold the identical key before a single message can flow.

Try it together

The Caesar cipher shifts each letter, so with a shift of 3, A becomes D and B becomes E. Shifting forward locks the message and shifting back unlocks it, and the shift amount acts as the key both sides must know. The Vigenere cipher extends the idea with a word as the key, shifting letters by different amounts down the message.

The promise is narrow: an eavesdropper learns nothing about the contents. It says nothing about who sent the message, whether it was altered on the way, or how the key reached both ends. Even the fact that you sent a message, to whom, and when, can stay visible to someone watching the network.

Good to know

Security must rest on the key, never on keeping the method secret: the method can be public and only the key stays secret. Never reuse one key stream across two messages, since the repeat leaks information between them. Modern keys are so large that trying every one would take longer than the age of the universe.

Share one key, hide the contents with it, and remember everything the cipher never promised.

2 · Watch

Take it off screen

Print a worksheetA4 with an answer key page for grown-ups. No screen, no internet.

Where it sits

Then practise

8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.

Spotted a problem on this page? Tell us
Symmetric Encryption and What a Cipher Promises · Computing, ages 20 to 21 · LightMySky