Last reviewed 10 November 2026
What the keys actually do
Which job does the public key do, and which job does the private key do?
You have read Public-key cryptography. The further distinction is which key does which job.
Handbook explanation:
| Job | What the public key does | What the private key does |
|---|---|---|
| Key establishment | Used to create a shared secret | Recovers that secret |
| Encryption | Encrypts | Decrypts |
| Signing | Checks the signature | Creates the signature |
| Verification | The check itself | Does not reverse the signature |
The encryption row describes that classical job, and FIPS 203, FIPS 204, and FIPS 205 do not standardise public-key encryption.
An unnamed web session uses key establishment, and an unnamed software update uses signing and verification. The jobs above do not depend on a named algorithm.
The figure shows that software update. The publisher signs it with the private key, and the device checks it with the public key.
The public key is used to create a shared secret, and the private key recovers it. The private key creates a signature, and the public key checks it, and checking a signature does not reverse it.
This distinction continues from Public-key cryptography.
Continue with What a quantum computer changes.
Sources
- NIST, Transition to Post-Quantum Cryptography Standards (NIST IR 8547), October 2026, for the public-key jobs that report names. NIST IR 8547
- FIPS 203 for post-quantum key establishment. FIPS 203
- FIPS 204 for post-quantum signatures. FIPS 204
- FIPS 205 for post-quantum signatures. FIPS 205