Revision Notes
Cambridge O Level Computer Science (2210): Encryption – Revision Notes
Revision notes for Cambridge O Level Computer Science 2210 section 2.3: why data is encrypted, symmetric and asymmetric keys, exam traps and a self-test.
- Subject
- Computer Science
- Level
- O LEVELS
- Topic
- Topic 2 – Data transmission
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Harris Khan (what this means)
Aligned to Cambridge O Level Computer Science (2210), 2026-2028. Official specification .
Syllabus page (what it covers and how it is assessed): Cambridge O Level Computer Science.
Syllabus points this page covers
2210
- 2.3 Encryption
Found an error? Report a correction.
Need help with this topic? Request a free trial class for O Level Computer Science (2210).
Condensed notes for syllabus section 2.3, Encryption. For the full step-by-step explanation and a model answer, use the Encryption study guide.
Syllabus checklist
- The need for, and purpose of, encryption when transmitting data.
- How data is encrypted using symmetric encryption.
- How data is encrypted using asymmetric encryption, including public and private keys.
The purpose in one sentence
Encryption makes transmitted data meaningless to anyone who intercepts it without the correct key, so it stays confidential to the intended recipient.
What encryption does not do: stop interception, block access to a network, or check for errors.
Key terms
| Term | Definition |
|---|---|
| Interception | Data being copied or captured while it travels across a network |
| Plaintext | Readable data before encryption |
| Ciphertext | Scrambled data after encryption |
| Encryption algorithm | The steps used to turn plaintext into ciphertext |
| Key | The value used by the algorithm to encrypt and decrypt |
| Symmetric encryption | One shared key encrypts and decrypts |
| Asymmetric encryption | A linked pair: public key encrypts, private key decrypts |
| Public key | Shared openly; used to encrypt messages for its owner |
| Private key | Kept secret by its owner; never transmitted; used to decrypt |
| Key distribution problem | The difficulty of sharing a secret key without it being intercepted |
Symmetric: what to write
- The same key is used to encrypt and to decrypt.
- The key must be shared with the receiver first.
- If the key is intercepted while being shared, all data encrypted with it can be read.
- Advantage: quick and simple, good for large volumes of data.
Asymmetric: what to write
- The receiver has a key pair: public and private, mathematically linked.
- The receiver’s public key is given to the sender.
- The sender encrypts with the receiver’s public key.
- The receiver decrypts with their own private key.
- The private key never leaves the receiver, so it cannot be intercepted.
- Disadvantage: slower and more complex than symmetric.
Scenario grid: whose key?
| Scenario | Encrypt with | Decrypt with |
|---|---|---|
| Patient sends symptoms to a clinic | Clinic’s public key | Clinic’s private key |
| Clinic replies to the patient | Patient’s public key | Patient’s private key |
| Two branches of a firm that already share a secret key | The shared key | The same shared key |
| A voter sends a vote to an online voting system | System’s public key | System’s private key |
Rule: the receiver’s keys protect a message to the receiver.
Symmetric versus asymmetric
| Symmetric | Asymmetric | |
|---|---|---|
| Keys | 1 | 2 |
| Secret key transmitted? | Yes | No |
| Risk | Key intercepted while shared | Private key stolen from its owner |
| Speed | Faster | Slower |
| Best when | Both sides already share a key safely; large data | First contact with a new recipient |
Illustration of a key (not a real cipher)
Add-the-key digit method with key 4: plaintext 2059 becomes 6493 (2+4 = 6, 0+4 = 4, 5+4 = 9, 9+4 = 13 → 3). With key 6 the same plaintext becomes 8615. Same algorithm, different key, different ciphertext.
Answer templates
Explain why data should be encrypted (3 marks): name the sensitive data in the scenario; say it could be intercepted while being transmitted; say encryption makes it meaningless to anyone without the key, so it stays confidential.
Describe asymmetric encryption (4 marks): the receiver has a linked public and private key; the receiver’s public key is given to the sender; the sender encrypts with it; the receiver decrypts with their private key, which is never transmitted.
Compare the methods (4 marks): number of keys; whether a secret key has to be sent; one advantage of each, such as speed for symmetric and no key exchange risk for asymmetric.
Exam traps
- “It stops data being stolen.” Say instead: if stolen, it cannot be understood.
- Keys with no owner. Always write “the clinic’s public key”, not “the public key”.
- Wrong key for decryption. The public key does not decrypt.
- Moving the private key. Any step where the private key is sent is wrong.
- Mixing topics. Parity checks, checksums and echo checks belong to error detection, not encryption.
- Assuming one key pair covers both directions. Each receiver uses their own pair.
Self-test
- Give the purpose of encrypting data before transmission.
- State one thing encryption cannot do.
- What is the key distribution problem?
- In symmetric encryption, how many keys are needed by two people?
- Give one advantage of symmetric encryption.
- Which key does a sender use in asymmetric encryption?
- Which key must never be transmitted?
- Give one disadvantage of asymmetric encryption.
- A student emails a teacher using asymmetric encryption. Which key decrypts the email?
- Using the add-the-key digit method with key 3, encrypt 7140.
- Why can the encryption algorithm be public without making data insecure?
- Name the term for encrypted data.
Answers
- To make the data meaningless if it is intercepted, so only the intended recipient can understand it.
- Any one: stop interception; stop someone accessing a network; detect errors.
- A secret key has to be shared with the receiver, and it could be intercepted while being shared.
- One, shared between them.
- It is fast and simple, so it suits large amounts of data.
- The receiver’s public key.
- The private key.
- It is slower and more complex than symmetric encryption.
- The teacher’s private key.
- 0473 (7+3 = 10 → 0, 1+3 = 4, 4+3 = 7, 0+3 = 3).
- Security depends on the key being secret, not the algorithm.
- Ciphertext.
Related resources
-
Study guides
Cambridge O Level Computer Science (2210): Methods of error detection
Study guide to Cambridge O Level Computer Science 2210 section 2.2: parity checks and blocks, checksums, echo checks, check digits and ARQ, worked through.
Computer Science · Cambridge · O Level
Read guide -
Practice questions
Cambridge O Level Computer Science (2210): Methods of error detection – Practice Questions
Original questions with mark-scheme answers on Cambridge O Level Computer Science 2210 section 2.2: parity blocks, checksums, echo checks, check digits and ARQ.
Computer Science · Cambridge · O Level
Try questions -
Revision notes
Cambridge O Level Computer Science (2210): Methods of error detection – Revision Notes
Revision notes for Cambridge O Level Computer Science 2210 section 2.2: parity, parity blocks, checksums, echo checks, check digits, ARQ and a self-test.
Computer Science · Cambridge · O Level
Revise topic
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.