Back to Encryption

Oak National Academy

Lessons written by expert teachers in England, each with slides, a video and quizzes.

Their topic:
Programming: dictionaries and data files · Cyber threats and security
For your topic:
Encryption · Computer Science - 4CP0

Use these lessons alongside our lesson note, which covers your syllabus in full.

What this covers in your syllabus

2 lessons from Oak National Academy

Lesson 1 of 2 · GCSE level, ages 14 to 16

Dictionary challenge

By the end: I can create an encryption program using a dictionary with key-value pairs.

Key learning points

  1. A cipher is a type of secret code, where you swap the letters around so that no one can read your message.
  2. A Caesar cipher is one of the oldest and most famous ciphers.
  3. A dictionary data structure can be used to create a Caesar cipher.
  4. A dictionary maps one thing to another.

Keywords

encryption
the process of applying an encryption algorithm to plaintext to produce ciphertext that cannot be understood (without decryption)
key-value pair
when a key (the attribute identifier) is paired with the data
cipher
an algorithm used to convert plaintext messages to ciphertext (encryption) or ciphertext to plaintext (decryption)

A common mistake

Mistake: A dictionary is a static data structure meaning you cannot add or remove items, only change the values that are available.

In fact: A dictionary is a dynamic data structure, which means you can add or remove items in the data structure during program execution.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

What type of data structure is used to store key-value pairs in Python?
A Caesar cipher with key +2 will change A to ...
What does this line return? ```chr(66)```

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 2 of 2 · GCSE level, ages 14 to 16

Encryption tools to protect communication

By the end: I can describe and explain applications of encryption.

Key learning points

  1. Encryption is the process of converting data into an unreadable format to prevent unauthorised access.
  2. There are many different algorithms that can be used to encrypt data.
  3. Encryption protects personal data and keeps messages private, ensuring security during online transactions.
  4. Encryption is used in messaging services, HTTPS websites and banking apps.

Keywords

encryption
the process of applying an encryption algorithm to plaintext to produce ciphertext that cannot be understood (without decryption)
key
a piece of information that is used by an encryption algorithm to lock or unlock a message or data
cipher
an algorithm used to convert plaintext messages to ciphertext (encryption) or ciphertext to plaintext (decryption)

A common mistake

Mistake: Encryption makes data completely safe and unbreakable.

In fact: Encryption greatly improves security, but it is not foolproof. If encryption keys are weak, stolen or mismanaged, encrypted data can still be accessed by attackers.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

Which of the following is true about encryption?
What does HTTPS indicate about a website?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

The wording comes from each publisher. The layout and the links to your syllabus are ours.