Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1send(message); send(key); | AThe key is written in the same message as the ciphertext, so anyone who reads it can decrypt it. | |
| 2key = "LEMON" # told in person | BShares the key in person, so it never travels with the message | |
| 3If you think the key may have leaked, change it straight away | CSends the key with the message, so anyone who intercepts both can unlock it | |
| 4The key should travel by a different channel from the message | DA key that may have leaked is still being used, so attackers could read new messages. | |
| 5email("Message: KHOOR. Key: shift 3") | Esend_by_email(ciphertext) tell_in_person(key) | |
| 6if key_leaked: keep_using(key) | Fif key_leaked: key = new_key() |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
keep the key secret — Encryption is only as strong as its key. Never send the key with the message, share it in person or by another channel, and change it if it may have leaked.ciphertext ← encrypt(message, key)
send(ciphertext)sendChannel ← "email"
keyChannel ← "in person"
shareKey(key, keyChannel)IF keyLeaked = TRUE THEN
key ← newKey()
ENDIFIF keyChannel = sendChannel THEN
stopSharing()
ENDIFciphertext ← encrypt(message, key)
send(ciphertext)
keepSecret(key)