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 | |
|---|---|---|
| 1encrypt(message, key) | AProtects card and account numbers so a thief cannot use them if they steal the data | |
| 2encrypt(bankDetails, key) | BThe password is sent as readable plaintext, so anyone who intercepts it can read it. It should be encrypted first, for example send(encrypt(password, key)). | |
| 3Encrypting a password before it is stored means a hacker who steals it sees only scrambled text | Cstored = encrypt(password, key) | |
| 4Only a person with the key can turn scrambled data back into private information | DScrambles a private message so only someone with the key can read it | |
| 5send(password) # plain text, no encrypt | ESharing the key publicly lets anyone decrypt the message, so encryption no longer keeps it private. The key must stay secret. | |
| 6encrypt(message, key) share(key) # tell everyone the key | Fdecrypt(ciphertext, key) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
encrypt — To scramble data so nobody can read it without the key. This keeps private things like messages, passwords and bank details safe if someone steals or intercepts them.scrambled = encrypt(message, key)readable = decrypt(scrambled, key)safePin = encrypt(bankPin, key)if dataIsPrivate:
data = encrypt(data, key)
send(data)ciphertext = encrypt(password, key)