2.3

Topic 2

Encryption

  • IGCSE Computer science 0478
  • 1 min read
  • Syllabus 2026, 2027 and 2028

Objectives

  1. 1

    Understand the need for and purpose of encryption when transmitting data

  2. 2

    Understand how data is encrypted using symmetric and asymmetric encryption

Cambridge IGCSE Computer Science 0478 syllabus 2026-2028, 2.3 Encryption (copied for internal use as permitted by Cambridge)

Detailed · Deep study

1Why encrypt?

Data sent across a network can be intercepted by a hacker. Encryption means that even if the data is intercepted, it is meaningless without the key. It protects confidential data such as passwords, bank details and personal messages.

2Symmetric and asymmetric encryption

Fig. 1Keys in symmetric and asymmetric encryption.
SymmetricAsymmetric
keysone secret keya key pair: public key and private key
encrypt withthe secret keythe receiver's public key
decrypt withthe same secret keythe receiver's private key
main problemthe key must be sent to the receiver – it could be interceptedslower to process
strengthfastthe private key is never sent, so it is more secure

In asymmetric encryption, anyone can have the public key, but data encrypted with it can only be decrypted by the matching private key, which never leaves the receiver.

3Exam focus

Key words: encryption; plaintext; ciphertext; key; symmetric; asymmetric; public key; private key; intercept.

Quick self-check

Answer in your head first, then reveal.

  1. To make data meaningless/unreadable if intercepted (1).

  2. A uses B's public key to encrypt (1); B uses B's private key to decrypt (1); private key never shared (1).

  3. The key must be shared and could be intercepted (1).

Finished this subtopic? Track it on your subject page.