Encryption · Cambridge syllabus 2.3 · Lesson 2 of 3
Symmetric Encryption
Symmetric encryption uses a shared secret key. The parties must obtain that key securely and keep it secret. It is efficient for protecting large amounts of data, but distributing the shared key is a challenge.
By the end, you can
- Understand the use of a shared key.
- Explain how the same key is used for encryption and decryption.
- Identify advantages and limitations of symmetric encryption.
Symmetric keys
Symmetric encryption uses one key for both directions: the same key that encrypts the plaintext decrypts the ciphertext. Both parties must hold it, and nobody else may.
It is fast, because the calculation is comparatively simple, and it can be applied to large volumes of data without noticeable delay. That is why it does the actual work in almost every secure system, including the bulk of a secure web connection once the connection is established.
Its problem is distribution. Before two parties can communicate, the key has to get from one to the other, and sending it over the same insecure network that made encryption necessary defeats the point. The longer the key, the harder it is to break by trying every possibility, but key length does not help with this at all.
So symmetric encryption on its own does not suit two parties who have never met and have no secure way to pass a key between them, such as a shop and a new customer on the internet. That is exactly the gap asymmetric encryption fills.
Worth remembering
- One shared key both encrypts and decrypts.
- Fast, so it suits large volumes of data.
- The key must be shared securely before any data can be sent.
Worked example
Two systems that both hold the same secret can encrypt and decrypt a protected data exchange.
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
The sender and receiver need a secure way to share the secret before an attacker can obtain it.
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.