AQA GCSE CSPaper 2 · Unit 5Lesson 9

Paper 2 · Unit 5 · CS-L5-09

Encryption & Network Security

60 minutes · AQA 8525 · Paper 2 — Computer networks

Spec & Goals 3 min

AQA Spec 3.5.2 — The need for, and importance of, encryption in network security

By the end of this lesson you can:

  1. Explain why data sent over a network needs to be secured.
  2. Define encryption and the terms plaintext, ciphertext and key.
  3. Describe how encryption protects data in transit.

Warm-Up 5 min

You've learned that wireless signals travel beyond a building and that packets cross many routers. Both mean data can be intercepted. Encryption is the defence.

Quick starter

If someone copied every packet you sent over café Wi-Fi, why would encryption stop them from using your password?

Reveal the idea

They'd only get scrambled data (ciphertext). Without the key to decrypt it, the password is unreadable and useless.

Key Concept — scrambling the data 14 min

Data crossing a network can be intercepted — especially on wireless networks, where signals spread through the air. Encryption scrambles data so that an interceptor cannot understand it.

TermMeaning
PlaintextThe original, readable data before encryption.
CiphertextThe scrambled, unreadable data after encryption.
KeyThe secret value used to encrypt the data and to decrypt it back.
Encrypt / decryptTurn plaintext into ciphertext / turn ciphertext back into plaintext.

Why it matters for networks

  • Data in transit passes through many devices you don't control — any could copy it.
  • Wireless signals can be picked up outside the building.
  • If intercepted ciphertext can't be read without the key, the data stays confidential.
  • This is exactly what HTTPS (Lesson 6) and Wi-Fi security do — encrypt the data end to end.

Worked Example — a simple cipher 12 min

Problem: Encrypt the word NET with a Caesar shift of +3 (the key), then show how the receiver decrypts it.

PlaintextNETCiphertextQHWDecryptedNETkey +3key −3
Encrypt: shift each letter forward by the key (+3). Decrypt: shift back by the same key (−3) to recover the plaintext.
  • Encrypt: N→Q, E→H, T→W. Ciphertext = QHW.
  • Intercepted: a hacker sees only QHW — meaningless without the key.
  • Decrypt: the receiver shifts back by 3 (the key): Q→N, H→E, W→T → NET.

Try It Yourself 12 min

🟢 Easy

Goal: Define plaintext and ciphertext.

🟡 Medium

Goal: Encrypt WIFI with a Caesar shift of +1, then show the decryption step.

Hint: W→X, I→J…

🔴 Stretch

Goal: Explain why encryption is especially important on a public wireless network.

📝 Exam Practice 10 min

Define[1 mark]

Define the term encryption.

Mark scheme
  • Scrambling/encoding data (using a key) so it cannot be understood if intercepted (1).
Explain[3 marks]

Explain how encryption protects data that is sent over a wireless network.

Mark scheme
  • Wireless signals can be intercepted as they travel through the air (1).
  • Encryption scrambles the data into ciphertext (1).
  • Only someone with the correct key can decrypt/read it, so intercepted data is useless (1).
State[1 mark]

State what is needed to decrypt ciphertext back into plaintext.

Mark scheme
  • The (correct) key (1).

Recap & Key Terms 3 min

Data crossing a network can be intercepted, so it is encrypted: a key scrambles plaintext into ciphertext. Without the key, intercepted data is unreadable. The receiver uses the key to decrypt it. This is what HTTPS and secure Wi-Fi do to keep data confidential.

Encryption
Scrambling data with a key so it cannot be understood if intercepted.
Plaintext
The original, readable data before encryption.
Ciphertext
The scrambled, unreadable data after encryption.
Key
The secret value used to encrypt and decrypt the data.

Homework 1 min

Task (≤ 15 min): Aisyah uses the free Wi-Fi at a KL mall to log in to her email. Explain why the connection must be encrypted, using the words intercepted, ciphertext and key.

Model answer

On public Wi-Fi her data travels through the air and could be intercepted by someone nearby. Encryption turns her login into ciphertext, which is scrambled and unreadable. Only the mail server, which holds the correct key, can decrypt it, so even if the data is copied it cannot be used.

Award marks for: data could be intercepted (1); encryption produces unreadable ciphertext (1); only the key can decrypt it (1).