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 | |
|---|---|---|
| 1key = 3 | ASets the secret value the algorithm uses to scramble the data, here a Caesar shift of 3 | |
| 2ciphertext = encrypt(plaintext, key) | BThe algorithm can be public. Security depends on keeping the key secret, so knowing the algorithm alone does not let someone read the data. | |
| 3A different key gives different ciphertext, even with the same algorithm and plaintext | Cencrypt("HI", 1) != encrypt("HI", 2) | |
| 4The same key is used to unscramble the ciphertext back into the plaintext | DThe algorithm uses the key to scramble the plaintext into ciphertext | |
| 5A hacker who knows the algorithm can read the data without the key | Eplaintext = decrypt(ciphertext, key) | |
| 6A shorter key is harder to guess than a longer key | FA longer key has many more possible values, so it is harder to guess. A shorter key is easier to guess. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
encryption key — A secret value used by the encryption algorithm to scramble data into ciphertext and unscramble it again. A different key gives different ciphertext, and a longer key is harder to guess.ciphertext ← encrypt(plaintext, key)plaintext ← decrypt(ciphertext, key)IF LENGTH(key) >= 128 THEN
OUTPUT "Harder to guess"
ENDIF// The algorithm can be public
// The key must stay secret
ciphertext ← encrypt(plaintext, key)c1 ← encrypt(plaintext, key1)
c2 ← encrypt(plaintext, key2)
OUTPUT c1 ≠ c2