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, bobPublicKey) | Adecrypt(ciphertext, receiverPrivateKey) | |
| 2ciphertext = encrypt(plaintext, receiverPublicKey) | BThe sender locks the plaintext using the receiver's public key, so only the receiver can unlock it. | |
| 3The sender must use the receiver's public key, not their own key, to encrypt the message. | CA private key must never be used by the sender. The sender should use the receiver's public key, which is safe to share. | |
| 4After encrypting with the receiver's public key, the sender cannot decrypt the ciphertext. Only the receiver's private key can. | Dencrypt(message, receiverPublicKey) | |
| 5encrypt(message, mySenderPublicKey) | EThe sender used their own public key. The message must be encrypted with the receiver's public key so only the receiver can decrypt it. | |
| 6encrypt(message, receiverPrivateKey) | FThe result is ciphertext that is safe to send openly over a network. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
encrypt with recipient's public key — To send a secure message, the sender encrypts the plaintext using the receiver's public key, not their own. Only the receiver's private key can decrypt the ciphertext.// Alice sends a secure message to Bob
cipher ← encrypt(message, bobPublic)// Alice sends a secure message to Bob
cipher ← encrypt(message, bobPublic)// Alice encrypts for Bob
cipher ← encrypt(message, bob.publicKey)// Alice cannot decrypt cipher afterwards
plain ← decrypt(cipher, bobPrivate)cipher ← encrypt(message, bobPublic)
send(cipher, bob)