GoalSay why a message sent over a network may need to be secret and what a cipher does.
New words
cipher · a set of rules that turns a message into a secret oneplain text · a message that anyone can readciphertext · the secret message that only people who know the rule can read
Explanation
When we send an email or a message, it travels across a network. On the way, other people might be able to see it. A message can hold private things, such as a password or a phone number. A cipher helps to keep a message safe. A cipher is a set of rules that changes plain text into ciphertext. Anyone can read plain text. Ciphertext looks like nonsense to anyone who does not know the rule. The person who gets the message uses the rule to turn it back into plain text. A cipher never makes it safe to share private things, so ask a trusted adult first.
Worked examples
Private information
What could go wrong
a password
someone could use your account
a phone number
strangers could call you
a birthday and full name
someone could pretend to be you
Some information is private, and it should not be seen by strangers. A cipher can help to protect it, but we should still ask a trusted adult before we send it.
Plain text
Rule
Ciphertext
bird
write it backwards
drib
drib
write it backwards
bird
A cipher follows a rule. This rule says: write the word backwards. The plain text “bird” becomes the ciphertext “drib”. To read it, the receiver writes it backwards again.
Only the sender and the receiver know the rule. The detective sees the ciphertext on the way, but without the rule it makes no sense to them.
Class activity
Plain or secret? (in pairs): each of you writes three short messages on slips of paper. Write one as plain text, and change the other two in secret with rules you make up yourself, for example writing the word backwards or putting an extra letter after every word. Swap the slips. Your partner sorts them into two piles: plain text and ciphertext. Then tell each other the rules. Which rule was hardest to spot?
Practice
1
In your own words, why do people use ciphers on a network?
So that other people who see the message cannot understand it. Only the people who know the rule can read it.
2
Which of these messages is plain text and which is ciphertext?
Message
A: the shop opens at nine
B: sgge dna klim yub
C: please bring a pencil
A and C are plain text. B is ciphertext, because it is the message “buy milk and eggs” written backwards.
3
A cipher turns plain text into ciphertext. What turns the ciphertext back into plain text?
The same rule, used the other way. Only the people who know the rule can do it.
4
Leo wants to send his home address in a secret message. What should he do first?
Ask a trusted adult. A secret code is not enough; private details such as an address are only shared with a trusted adult’s permission.