Encryption · Cambridge syllabus 2.3 · Lesson 3 of 3
Asymmetric Encryption
Asymmetric encryption uses a related public and private key pair. To send a confidential message to a recipient, encrypt with the recipient’s public key; their private key decrypts it. The private key remains secret.
By the end, you can
- Understand public-key encryption.
- Understand private keys.
- Explain the role of public and private key pairs.
- Compare symmetric and asymmetric encryption.
Public and private keys
Asymmetric encryption gives each person two mathematically linked keys: a public key that anyone may have, and a private key that never leaves its owner. Data encrypted with one of the pair can only be decrypted with the other.
To send something confidential, you encrypt it with the recipient’s public key. Only their private key will open it, so it does not matter who saw the public key or who intercepts the message on the way — not even you can decrypt it once it is sent.
This solves key distribution completely. Public keys can be published openly, so two parties who have never met can communicate securely, and nothing secret ever has to be sent across the network.
Compared with symmetric encryption, the difference to state is the keys. Symmetric uses one shared key, which must somehow be passed on securely; asymmetric uses a pair, a public key to encrypt and a private key to decrypt, so the key that is shared does not need to be kept secret.
Worth remembering
- A public key anyone may hold, and a private key that is never shared.
- Encrypt with the recipient’s public key; only their private key decrypts it.
- Symmetric shares one secret key; asymmetric shares only the public key.
Worked example
A public key can be distributed to senders, allowing them to protect messages that only its private-key holder can decrypt.
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
Bob’s public key. Bob decrypts with his corresponding private key.
Check your method, units and explanation against it.
Marked practice
Set 1 of 4 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.