AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Secret messages

Week 22 · Unit 9 · Unit · 3 lessons
1

Why hide a message?

Computing 3: Unit 9, pp. 135–146
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.

plain textuse the ruleciphertextundo the ruleplain text
Worked examples
Private informationWhat could go wrong
a passwordsomeone could use your account
a phone numberstrangers could call you
a birthday and full namesomeone 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 textRuleCiphertext
birdwrite it backwardsdrib
dribwrite it backwardsbird
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.
sender knows the rulereceiver knows the ruledoes not know the rule
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?
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
3
A cipher turns plain text into ciphertext. What turns the ciphertext back into plain text?
4
Leo wants to send his home address in a secret message. What should he do first?
Leohome address