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 | |
|---|---|---|
| 1decrypt(message, privateKey) | Ainterceptor.decrypt(ciphertext, publicKey) = unreadable | |
| 2decrypt(ciphertext, publicKey) -> fails | BThe public key cannot undo its own encryption, so the message stays unreadable. | |
| 3An interceptor who copies the public key still cannot read the encrypted message. | CThe recipient uses their own private key to turn the ciphertext back into readable plaintext. | |
| 4The private key stays on the recipient's device and is never sent across the network. | DThe private key was sent to the sender. It must stay secret on the recipient's device. Only the public key should be shared. | |
| 5plaintext = decrypt(ciphertext, publicKey) | EThe recipient's public key was used to decrypt. The public key cannot reverse its own encryption. The recipient's private key must be used. | |
| 6send(privateKey) to sender | FprivateKey = storedOnRecipientDevice |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
private key decryption — Only the recipient's private key can decrypt a message encrypted with their public key. The private key stays secret on the recipient's device, so interceptors cannot read it.plaintext = DECRYPT(ciphertext, privateKey)ciphertext = ENCRYPT(plaintext, publicKey)IF key = privateKey THEN OUTPUT plaintextresult = DECRYPT(ciphertext, privateKey)STORE(privateKey, recipientDevice)