Public-key cryptography · 06 Use today

Public-key cryptography today

Where public-key cryptography is used every day: HTTPS, digital signatures, messaging, passkeys, cryptocurrencies, software updates.

Websites
Every HTTPS connection uses public-key cryptography to authenticate the site and agree a session key.
Digital signatures
Contracts, deeds, invoices and digitally signed documents rest on key pairs and certificates.
Encrypted messaging
End-to-end encrypted apps exchange public keys between users’ devices.
Passkeys
They replace passwords with a key pair: the site stores only the public key.
Cryptocurrencies
An address derives from a public key; spending requires a signature with the private key.
Software updates
Systems verify the signature of updates before installing them.
Server access
Administrators log into servers with key pairs instead of passwords.

The post-quantum transition

In 2024 standards bodies published the first quantum-resistant public-key cryptography standards. In the coming years browsers, operating systems and services will add them alongside, and then substitute them for, the current algorithms.

Continue with
07 Try it yourself

Public-key cryptography: try it yourself

Exercises on modular exponentiation, one-wayness and verifying a signature, with solutions.

↑