01

Symmetric encryption

The oldest form of encryption uses the same key to lock and unlock. Modern algorithms, such as AES, are extremely fast and, with long keys, considered practically unbreakable by brute force. The problem is distribution: how do two people who have never met agree on a shared key without someone listening in?

02

The public-key breakthrough

In 1976, Whitfield Diffie and Martin Hellman published a method for two parties to agree on a shared secret over a public channel. Soon after, RSA introduced key pairs: a public key that anyone can use to encrypt messages for you, and a private key that only you hold to decrypt them. Similar ideas were developed secretly at the UK’s GCHQ earlier.

03

What happens behind the padlock

When you visit an HTTPS site, your browser and the server perform a handshake. The server shows a certificate signed by a trusted authority to prove its identity, and the two sides agree on a fresh symmetric key. All data after that is encrypted. Even if someone intercepts the traffic on public Wi-Fi, they see scrambled data.

04

Looking ahead

Large quantum computers could one day break widely used public-key algorithms. Standards bodies such as the US National Institute of Standards and Technology published the first post-quantum cryptography standards in 2024, and companies are beginning to adopt them. End-to-end encryption in messaging apps means even the service provider cannot read messages.

FOLLOW THE EVIDENCE

Sources & further reading

Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.