← ACARA Digital Technologies Years 7–8

Why data is encrypted

To scramble data so nobody can read it without the key. This keeps private things like messages, passwords and bank details safe if someone steals or intercepts them.

Understanding Why data is encrypted in ACARA Digital Technologies Years 7–8

What it does: The password is saved as scrambled text, so a stolen copy cannot be read without the key. Encryption scrambles the message. An interceptor sees only unreadable data without the key. It does not make the message faster. If a thief steals plain text passwords, they can use them straight away. Encrypted passwords are much harder to use. Bank details can be intercepted on a network. Encryption keeps them private so a stranger cannot read or use them. Seeing encrypted data is not enough. You need the key to turn it back into readable data.

Common mistakes: Encryption is used to protect private data such as bank details. The condition should check that the data is private, not public. To keep a password private when it is stored, it must be scrambled with encrypt. decrypt is used later to turn ciphertext back into readable text.

Class: _____________________  ·  Name: _____________________  ·  Date: _________

Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.

This module's key terms are also in a printable crossword (Modules 674–695) and word search (Modules 635–695).

Take this worksheet further — free with Cloodit

Each concept is reinforced from every angle — learned, then applied, then tested.

Learning
Duo
Why is a private message encrypted before it is sent?
So anyone who intercepts it cannot read itSo it travels across the internet faster
Matches
send(password) # plain text, no encrypt
↓
The password is sent as readable plaintext, so anyone who intercepts it can read it. It should be encrypted first, for example send(encrypt(password, key)).
Applying
Meanings
Term
encrypt
Meaning
To scramble data so nobody can read it without the key. This keeps private things like messages, passwords and bank details safe if someone steals or intercepts them.
Practice
message ← "My bank PIN is 4821"
Testing
Gaps
scrambled = (message, key)
Check Answer
Spots
1data ← "bank details"
2IF data is public THEN

Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.

The 'Nebula Cat' badge — Orbit Debugger, one of Cloodit's 106 collectible badges
Students earn collectable badges

Over 100 of them, across seven natural biomes.

Study Buddy
Students build a real study resource

Turns their work into revision material ready for Flash Cards and Exam study.

Diamond Dash — one of Cloodit's live, competitive Sprint games
Students lock in with Sprints

Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.

A Cloodit certificate of achievement, ready to personalise and print
Custom printable certificates

Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.

Quick Questions

1. Why is a private message encrypted before it is sent?
A. So anyone who intercepts it cannot read it ✓
B. So it travels across the internet faster
Encryption scrambles the message. An interceptor sees only unreadable data without the key. It does not make the message faster.
2. Which statement about encryption is correct?
A. It stops anyone from ever stealing the data
B. It makes data unreadable to anyone without the key ✓
Encryption does not stop theft or interception. It makes stolen data useless to people who do not have the key.
3. A website stores your password. What should it do?
A. Store it in encrypted form ✓
B. Store it as plain readable text
If a thief steals plain text passwords, they can use them straight away. Encrypted passwords are much harder to use.
4. You type your bank details into a shopping site. Why does the site encrypt them?
A. To keep them private while they travel over the network ✓
B. To make the payment cost less
Bank details can be intercepted on a network. Encryption keeps them private so a stranger cannot read or use them.
5. Who can read encrypted data?
A. Anyone who can see the data
B. Only a person who has the correct key ✓
Seeing encrypted data is not enough. You need the key to turn it back into readable data.

Match the Pairs

encrypt(message, key) → Scrambles a private message so only someone with the key can read it
encrypt(bankDetails, key) → Protects card and account numbers so a thief cannot use them if they steal the data
Encrypting a password before it is stored means a hacker who steals it sees only scrambled text → stored = encrypt(password, key)
Only a person with the key can turn scrambled data back into private information → decrypt(ciphertext, key)
send(password) # plain text, no encrypt → The password is sent as readable plaintext, so anyone who intercepts it can read it. It should be encrypted first, for example send(encrypt(password, key)).
encrypt(message, key) share(key) # tell everyone the key → Sharing the key publicly lets anyone decrypt the message, so encryption no longer keeps it private. The key must stay secret.

Key Term

encrypt
To scramble data so nobody can read it without the key. This keeps private things like messages, passwords and bank details safe if someone steals or intercepts them.

Fill in the Blanks

1. scrambled = encrypt(message, key)
Hint: Type the function name that scrambles a private message so others cannot read it.
2. readable = decrypt(scrambled, key)
Hint: Type the function name that turns scrambled data back into readable data for the person with the key.
3. safePin = encrypt(bankPin, key)
Hint: Type the secret value that locks the bank details and is needed to unlock them.
4. if dataIsPrivate: data = encrypt(data, key) send(data)
Hint: Type the keyword that checks a condition before the indented lines run.
5. ciphertext = encrypt(password, key)
Hint: Type the operator that stores the scrambled password in the variable.

Spot the Error

Question 1
A data ← "bank details"
B IF data is public THEN
C data ← encrypt(data, key)
D END IF
Line B — Encryption is used to protect private data such as bank details. The condition should check that the data is private, not public.
Question 2
A password ← "cat123"
B key ← "Qm4z"
C stored ← decrypt(password, key)
D save(stored)
Line C — To keep a password private when it is stored, it must be scrambled with encrypt. decrypt is used later to turn ciphertext back into readable text.
Question 3
A message ← "See you at 5"
B key ← "T9r2"
C coded ← encrypt(message, key)
D send(message)
Line D — This sends the plaintext message, so anyone who intercepts it can read it. It should send the encrypted version: send(coded).
Question 4
A ciphertext ← "PIN is 4821"
B key ← "Zx81"
C ciphertext ← encrypt(plaintext, key)
Line A — Readable data is called plaintext. Ciphertext is the scrambled result. Line 3 uses plaintext, so line 1 should be plaintext ← "PIN is 4821".
Question 5
A reason ← "show data to everyone"
B IF thief steals the data THEN
C thief needs the key to read
D END IF
Line A — The reason for encrypting data is to keep it private, not to show it to everyone. It should be reason ← "keep data private".

Student with a class code? Join your class →