How encryption works?
A lesson on computing. Computing, secondary school level.
Encryption uses an algorithm, a set mathematical procedure, and a key, a secret value, to protect information.
A phone can encrypt a photo before sending it.
The result is ciphertext: information that can no longer be read as the photo.
Decryption uses a suitable key to turn it back into the original information, called plaintext.
The algorithm can be public because the key is kept secret.
Questions in this lesson
- If everyone knows how a padlock works, can it still keep your diary safe?
- In your own words, why can the phone tell everyone how it scrambles the photo and still keep that photo safe?