Skip to content
Cambridge AS & A Level9626

Encryption

Information Technology 9626 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Encryption notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Encryption notes as text: skim, search, and jump between subtopics.

~11 min read

1. The need for encryption

Encryption scrambles data so that its meaning is hidden. It is needed so that data which is stolen, lost or intercepted cannot be understood by anyone who is not authorised.

Encrypted data can still be seen. Only a person with the decryption key can turn it back into data that makes sense.

Examiner insight

“However, some candidates appear to have seen the word ‘encryption’ and simply written everything they could about encryption as a process, including comparing different methods of encryption.” “When answering a question that is based on an attempt to mitigate risks, it is sometimes best if that risk is stated as a starting point. In the context of this question, a starting point would be that data may be intercepted whilst in transit.”

Worked example 14 marks

Personal data is held on a hard disk.

Explain two benefits of encrypting this hard disk.

  1. 1

    Benefit 1: the data is safer / protected. [1]

  2. 2

    Explanation: stolen data cannot be understood. [1]

  3. 3

    Benefit 2: reduced desire to hack. [1]

  4. 4

    Explanation: the data is unusable if it is stolen or accessed. [1]

2. Symmetric and asymmetric encryption

In symmetric encryption a single private key is used. The same key encrypts and decrypts, so it is shared between the sender and the receiver.

Asymmetric encryption uses a private key and a public key. It is the more secure method.

The weakness of the symmetric method is its key. The key has to be transferred, so it could be intercepted.

Examiner insight

“There was a lot of evidence to suggest that candidates had learned these methods off by heart, but were unable to clearly express which was which.” “A minority of responses confused asymmetric with symmetric and mixed public and private keys.”

Worked example 14 marks

A company uses symmetric encryption to send files to a customer. Explain why the key is a security risk.

  1. 1

    The same key is used for encryption and decryption. [1]

  2. 2

    The key has to be transferred to the receiver. [1]

  3. 3

    The key could be intercepted while it is transferred. [1]

  4. 4

    Whoever has the key can decrypt and understand the data. [1]

3. SSL and TLS

Secure Socket Layer (SSL) and Transport Layer Security (TLS) are protocols that secure the connection between a client and a server, for example a web browser and a web server. HTTPS uses TLS for the encryption and decryption of the data.

The connection starts with a handshake. The server's digital certificate shows that the website is genuine. Session keys are then used to encrypt and decrypt the data, so an eavesdropper or a man-in-the-middle cannot understand it.

Examiner insight

“Most students understood this was a system to protect websites, although some considered it a method of encryption and described it in some depth.” “There also appeared to be little description of handshaking and/or reference to secure connections between clients and servers.”

Worked example 14 marks

Describe how SSL / TLS is used to protect data sent between a web browser and a web server.

  1. 1

    The browser and server start with a handshake. [1]

  2. 2

    The server's digital certificate shows the website is genuine. [1]

  3. 3

    Session keys are used to encrypt and decrypt the data exchanged. [1]

  4. 4

    An eavesdropper or man-in-the-middle cannot understand the data. [1]

4. IPsec

IPsec (Internet Protocol Security) secures data as it is transferred across a network. It encrypts the data in the packets.

The encryption keys are established at the start of a session, so all the data exchanged in that session is encrypted. A new set of keys is generated for each session.

IPsec is one of the protocols used in a VPN.

Examiner insight

“In some cases, candidates tried to explain why IPsec was used, which was not answering the question that had been set, whilst others tried to explain what it did, but in general terms.” “IPsec also encrypts data, but more detail of its operation was required.”

Worked example 13 marks

Describe how IPsec secures the data sent between two offices of a company across a network.

  1. 1

    IPsec encrypts the data in the packets as they are transferred. [1]

  2. 2

    The encryption keys are established at the start of a session. [1]

  3. 3

    A new set of keys is generated for each session. [1]

5. Uses of encryption

Encryption protects data wherever it is held or sent. Stored data on a hard disk or a pen drive stays protected if the device is lost or stolen. Encryption also protects files on cloud storage from outside attacks.

Data being sent is protected too: HTTPS between a browser and a server, a VPN that encrypts all data during transmission, and a wireless access point that needs a network key.

Encryption stops data being understood. It does not secure a network: firewalls, which control inward and outward data flow, do that.

Examiner insight

“Answers that described the mechanics of encryption but not how it is used were unable to gain full credit.” “Encrypting the data is an effective method of preventing it being understood but it does not secure a network.”

Worked example 16 marks

Justify the uses of encryption for data that is stored on a pen drive.

  1. 1

    Definition: encryption scrambles the data so that its meaning is hidden. [1]

  2. 2

    It protects the data and improves data security. [1]

  3. 3

    The data remains protected if the pen drive is lost. [1]

  4. 4

    Files cannot be understood unless they are decrypted. [1]

  5. 5

    The data remains encrypted regardless of where it is moved to. [1]

  6. 6

    It reduces the motivation to steal the pen drive. [1]

6. Benefits and drawbacks

Benefits: The content cannot be understood by a third party. Man-in-the-middle attacks are ineffective. Hackers are deterred and users gain confidence.

Drawbacks: Encryption uses a lot of server resources and adds delays. Keys have to be exchanged, so there are more data exchanges. An SSL certificate has to be bought from a certificate authority.

For methods, compare their security: asymmetric is the more secure, and a symmetric key has to be transferred, so it could be intercepted.

Examiner insight

“Very few candidates were able to articulate the disadvantages of using encryption.” “Similarly, some candidates claimed that encryption ensured that data could not be intercepted, which is also not correct.”

Worked example 18 marks

Discuss the benefits and drawbacks of using encryption when transferring data between web browsers and web servers.

  1. 1

    Definition: encryption scrambles data so that its meaning is hidden. [1]

  2. 2

    Benefit: the content of the web page cannot be understood by any third party. [1]

  3. 3

    Benefit: encrypted connections make man-in-the-middle attacks ineffective. [1]

  4. 4

    Benefit: it deters hackers. [1]

  5. 5

    Drawback: encryption uses a lot of server resources, such as processing power and memory. [1]

  6. 6

    Drawback: it introduces delays, so data takes more time to transfer. [1]

  7. 7

    Drawback: more data exchanges are needed as keys have to be exchanged. [1]

  8. 8

    Drawback: an SSL certificate must be bought, issued by a certificate authority. [1]

Recap

  • Encryption scrambles data so its meaning is hidden. It can be read but not understood.
  • Symmetric: one private key, shared by sender and receiver. The key can be intercepted when it is transferred.
  • Asymmetric: a private key and a public key. It is the more secure method.
  • SSL and TLS give a secure client-server connection: handshake, digital certificate, session keys.
  • IPsec secures data as it is transferred across a network. New keys are generated for each session.
  • Uses: stored data on a disk, pen drive or cloud, and data in transit over HTTPS and a VPN.
  • Always give drawbacks too: server resources, delays, key exchanges, buying a certificate.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State what encryption does to data.1 mark
    Answer
    1. It scrambles the data so that its meaning is hidden [1].

    Trap: Saying the data becomes unreadable: it can still be read, but not understood.

  2. A student writes: "A hacker who intercepts encrypted data cannot read it." Explain what is wrong with this statement.2 marks
    Answer
    1. Encrypted data can still be read [1].
    2. It cannot be understood without the decryption key [1].

    Trap: Examiners reported this slip: readable and understandable are not the same thing.

  3. Copy and complete. Symmetric encryption uses a single ___ key, which is shared by the sender and the receiver. Asymmetric encryption uses a ___ key and a ___ key.3 marks
    Answer
    1. private [1].
    2. private [1].
    3. public [1].

    Trap: Mixing up the keys of the two methods: symmetric has no public key.

  4. A school sends exam papers to an exam board using symmetric encryption. Explain why the key is a security risk.3 marks
    Answer
    1. The same key encrypts and decrypts, so the receiver needs a copy [1].
    2. The key has to be transferred [1].
    3. It could be intercepted, and then the papers could be decrypted and understood [1].

    Trap: Going on to compare symmetric with asymmetric when the question asks only about symmetric.

  5. Write out SSL and TLS in full. State what they protect.3 marks
    Answer
    1. Secure Socket Layer [1].
    2. Transport Layer Security [1].
    3. The data exchanged over the connection between a client and a server [1].

    Trap: Calling SSL / TLS a method of encryption instead of a protocol for secure connections.

  6. A customer enters payment details on a shop's website. The browser and the server use TLS. Describe how TLS protects the payment details.4 marks
    Answer
    1. The browser and server start with a handshake [1].
    2. The server's digital certificate shows the website is genuine [1].
    3. Session keys are used to encrypt and decrypt the payment details [1].
    4. Anyone who intercepts the data cannot understand it [1].

    Trap: Writing only "it uses encryption": this is an introductory comment that earns very little.

  7. A company links two of its offices across a network using IPsec. Describe what IPsec does and how its encryption keys are managed.3 marks
    Answer
    1. It secures the data as it is transferred across the network [1].
    2. The encryption keys are established at the start of a session [1].
    3. A new set of keys is generated for each session [1].

    Trap: Explaining why IPsec is used when the question asks what it does.

  8. A salesperson keeps customer files on a laptop that is encrypted. Explain two reasons why this is useful if the laptop is lost or stolen.4 marks
    Answer
    1. The data remains protected if the laptop is lost [1], because files cannot be understood unless they are decrypted [1].
    2. It reduces the motivation to steal the laptop [1], because the stolen data is unusable [1].

    Trap: Describing how encryption works instead of how it is used.

  9. Staff at a design company connect to the office file server from hotels over public WiFi, through a VPN that uses IPsec. A colleague says: "Because IPsec encrypts our data, nobody can intercept our files, hackers cannot get into our network, and the same keys protect every connection we make." Explain the three errors in this statement.6 marks
    Answer
    1. Encrypted data can still be intercepted [1].
    2. But intercepted data cannot be understood without the keys [1].
    3. Encryption protects the data but does not secure the network [1].
    4. Firewalls, which control inward and outward data flow, are needed for that [1].
    5. The keys are not reused: they are established at the start of a session [1].
    6. A new set of keys is generated for each session [1].

    Trap: Claiming encryption stops data being intercepted, or that it secures a network: examiners reported both.

  10. An online clinic lets patients upload test results from their phones to its web server. The results are then kept on the server's hard disks. The clinic plans to encrypt the results both while they are uploaded and while they are stored. Evaluate this plan.8 marks
    Answer
    1. Definition: encryption scrambles data so that its meaning is hidden [1].
    2. Upload: TLS starts with a handshake, the digital certificate shows the clinic's website is genuine, and session keys encrypt the data [1].
    3. Benefit: intercepted results cannot be understood by a third party, so man-in-the-middle attacks are ineffective [1].
    4. Benefit: if the disks are stolen, the results cannot be understood without the decryption key [1].
    5. Benefit: patients gain confidence to upload private results [1].
    6. Drawback: encryption uses server resources, such as processing power and memory, and introduces delays [1].
    7. Drawback: connections take longer to set up, and an SSL certificate must be bought from a certificate authority [1].
    8. Judgement: the results are private medical data, so the benefits outweigh the extra cost and delay [1].

    Trap: Listing benefits only, with no drawbacks and no judgement: examiners reported answers that focused on the benefits.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
Encrypted data cannot be read.Encrypted data can be read but cannot be understood without the decryption key.
SSL / TLS is a type of encryption.SSL / TLS is a protocol that gives a secure connection between a client and a server.
IPsec is used for security.IPsec secures data as it is transferred across a network, with keys established at the start of a session.
Encryption stops data being intercepted.Intercepted data cannot be understood without the key.

Frequently asked questions

What does encryption do to data?
Encryption scrambles data so that its meaning is hidden. Encrypted data can still be read, but it cannot be understood without the decryption key. This protects data that is stolen, lost or intercepted from anyone who is not authorised.
What is the difference between symmetric and asymmetric encryption?
Symmetric encryption uses a single private key, shared by the sender and the receiver. Asymmetric encryption uses a private key and a public key, and it is the more secure method. The weakness of symmetric encryption is that its key has to be transferred, so it could be intercepted.
How do SSL and TLS protect data sent between a browser and a server?
SSL (Secure Socket Layer) and TLS (Transport Layer Security) are protocols that secure the connection between a client and a server. The connection starts with a handshake, and the server's digital certificate shows the website is genuine. Session keys then encrypt and decrypt the data, so an eavesdropper cannot understand it.
How does IPsec secure data across a network?
IPsec secures data as it is transferred across a network, and it encrypts the data in the packets. Its encryption keys are established at the start of a session, and a new set of keys is generated for each session. IPsec is one of the protocols used in a VPN.
Does encryption make a network secure?
No. Encryption stops data being understood, but it does not secure a network. Firewalls, which control inward and outward data flow, do that. Encrypted data can still be intercepted, but intercepted data cannot be understood without the key.
Why is it wrong to say that encrypted data cannot be read?
Encrypted data can still be read, but it cannot be understood without the decryption key. Examiners reported this slip, and also the claim that encryption ensures data cannot be intercepted. Readable and understandable are not the same thing.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters