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

Safer now, safer later

Week 16 Ā· Unit 9.2: My children’s digital world Ā· 3 lessons
2

Scrambling messages

Digital Literacy 9: Unit 9.2, objectives 9SW.05, 9DW.06
GoalExplain encryption with a simple shift cipher and say why scrambling matters on wireless networks.
New words
plaintext Ā· a message in a form anyone can readciphertext Ā· the scrambled form of a messageencryption Ā· turning plaintext into ciphertext using a method and a keykey Ā· the secret information that locks or unlocks the scrambling
Explanation

Wi-Fi and mobile signals spread through the air. Other devices nearby may be able to pick up what is sent, so private details need protection. Encryption does this by turning plaintext into ciphertext that looks like nonsense. Decryption uses the key to turn it back. A very simple example is a shift cipher: with the key 3, every letter moves three places along the alphabet, so A becomes D. This toy cipher is easy to break, because there are only 25 shifts to try. Real encryption uses mathematics with so many possible keys that trying them all is not practical. When a web address begins with https and shows a lock symbol or similar sign, the data between your browser and that site is scrambled. That does not prove the site is honest, and encryption cannot help if you hand over your password.

messagescrambledstored or sent on
Worked examples
ABCDEFGHIJ
PlainABCDEFGHIJ
CipherDEFGHIJKLM
A shift cipher with the key 3. Each plain letter is matched with the letter three places later.
StepResult
PlaintextSAFE
Key3
CiphertextVDIH
Using the key 3, the word SAFE becomes VDIH. The receiver, who knows the key, moves each letter three places back.
http://www.example.org/signinnot secure
Plain web pages and secure ones look different in the address bar. This address starts with http and has no lock.
Class activity

Cipher swap (pairs, paper). 1) Each partner writes a short plain message of three or four words about a club, such as a school chess club, and picks a key from 1 to 9. 2) Encrypt it letter by letter and write the key on a separate slip. 3) Swap the ciphertexts only and try to decrypt without the key by trying shifts; count your tries. 4) Swap the slips and check. Discuss: why is it a bad idea to send the key together with the ciphertext? Why would a shift cipher never protect a real bank?

Practice
1
Decrypt this message that was encrypted with a shift of 5 forward: MJQU
CiphertextKey
MJQU5
2
Encrypt BUS with the key 2.
3
Why is it pointless to write the key on the same note as the ciphertext?
4
A shop page starts with https and shows a lock symbol. Does that prove the shop is honest?
https://shop.example.net/pay