Why encrypted data is useless to an interceptor

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Why encrypted data is useless to an interceptor

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Encryption stops a hacker from intercepting data on a network.
A False
B True
2. What does an interceptor see when they capture encrypted data?
A Ciphertext
B Plaintext
3. Which is the best description of the purpose of encryption?
A To make it impossible for anyone to intercept the data
B To make intercepted data impossible to understand without the key
4. An interceptor captures a student's encrypted password but does not have the key. What can they do?
A They have only ciphertext and cannot get the plaintext password
B They can easily read the plaintext password
5. Which item is protected by encrypting data sent across a network?
A The speed of the network connection
B Bank details sent to an online shop

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1intercepted = "x9Fq#2Lm" AThe interceptor captures only ciphertext, which looks like random characters and cannot be read
2plaintext = decrypt(ciphertext, key) BEncryption does not prevent interception. Data can still be captured, but it is unreadable without the key.
3Encryption does not stop interception, it only makes the intercepted data unreadable Cinterceptor sees ciphertext only
4Without the key, the interceptor cannot get the plaintext DIF key = unknown THEN plaintext = unreadable
5Encryption stops hackers from intercepting data EIf the password was encrypted, the interceptor would see only ciphertext, not the plaintext password.
6interceptor reads password = "hunter2" FOnly someone with the correct key can turn ciphertext back into readable plaintext

Definitions

unreadable without the key

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
__________ ← ENCRYPT(password, key)
2.
IF hasKey = _____ THEN OUTPUT "Unreadable" ENDIF
3.
plaintext ← DECRYPT(ciphertext, ___)
4.
ciphertext ← _______(bankDetails, key)
5.
IF hasKey = FALSE ____ plaintext ← "unknown" ENDIF

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A ciphertext ← decrypt(msg, key)
B SEND ciphertext
C OUTPUT "Sent safely"
Question 2
A password ← "hunter2"
B SEND password
C OUTPUT "Sent safely"
Question 3
A captured ← "Xk2!9"
B OUTPUT captured
C OUTPUT "Plaintext: password"
Question 4
A // Hacker sees plaintext only
B captured ← "Zq8#v1"
C OUTPUT captured
Question 5
A password ← INPUT()
B sent ← encrypt(password)
C SEND sent

Answer Key

Why encrypted data is useless to an interceptor
Section A: Quick Questions
Q1
A — False
Q2
A — Ciphertext
Q3
B — To make intercepted data impossible to understand without the key
Q4
A — They have only ciphertext and cannot get the plaintext password
Q5
B — Bank details sent to an online shop
Section B: Match the Pairs
Q1
intercepted = "x9Fq#2Lm" → The interceptor captures only ciphertext, which looks like random characters and cannot be read
Q2
plaintext = decrypt(ciphertext, key) → Only someone with the correct key can turn ciphertext back into readable plaintext
Q3
Encryption does not stop interception, it only makes the intercepted data unreadable → interceptor sees ciphertext only
Q4
Without the key, the interceptor cannot get the plaintext → IF key = unknown THEN plaintext = unreadable
Q5
Encryption stops hackers from intercepting data → Encryption does not prevent interception. Data can still be captured, but it is unreadable without the key.
Q6
interceptor reads password = "hunter2" → If the password was encrypted, the interceptor would see only ciphertext, not the plaintext password.
Section C: Definitions
Q1
unreadable without the key — Encryption cannot stop data being intercepted, but the interceptor sees only ciphertext and cannot get the plaintext without the key, so passwords and bank details stay safe.
Section D: Fill in the Blanks
Q1
ciphertext ← ENCRYPT(password, key)
Q2
IF hasKey = FALSE THEN OUTPUT "Unreadable" ENDIF
Q3
plaintext ← DECRYPT(ciphertext, key)
Q4
ciphertext ← ENCRYPT(bankDetails, key)
Q5
IF hasKey = FALSE THEN plaintext ← "unknown" ENDIF
Section E: Spot the Error
Q1
A — The data must be scrambled before it is sent, so this line needs encrypt(msg, key). decrypt would not turn the message into ciphertext.
Q2
B — This sends the password as plaintext, so an interceptor could read it. It should send the encrypted version: SEND encrypt(password, key).
Q3
C — An interceptor who only has the ciphertext and no key cannot work out the plaintext. The output should say the plaintext is unknown.
Q4
A — Encryption means the interceptor sees only ciphertext, not plaintext. The comment should say ciphertext.
Q5
B — Encryption needs a key as well as the data. The line should be encrypt(password, key).