Cryptography protects confidentiality, verifies identity, and preserves data integrity. Understanding how these mechanisms work helps you assess quantum exposure and plan the transition.
Hover, focus, or tap an underlined term for a quick analogy.
Symmetric encryption
Both sides share a AnalogyTwo keepers carry copies of the same key to lock and open a dispatch chest.Symmetric encryption uses a shared secret key to encrypt and decrypt.. AES is widely used with 128-, 192-, or 256-bit keys. Symmetric encryption protects the bulk of transmitted and stored data.
Public-key cryptography
AnalogyThe keep hands out open padlocks and holds the only key that opens them.In public-key encryption, anyone can encrypt with the public key, and the private key holder can decrypt. uses a mathematically related key pair. The public key can be shared freely, while the private key stays secret. Different schemes support encryption, key establishment, or digital signatures.
Key establishment
AnalogyTwo keeps trade paint mixtures in public, then each adds its private pigment to arrive at the same color.In Diffie–Hellman key exchange, both endpoints derive the same secret from shared public values and their own private values. lets two systems agree on a shared secret over an untrusted network. Ephemeral elliptic-curve Diffie–Hellman (ECDHE) is common in TLS. The shared secret helps derive the symmetric keys that protect the session.
Digital signatures
A private key produces a AnalogyA courier stamps a dispatch with a personal signet, and the recipient checks the seal against its known impression.A private key signs a message, and the matching public key verifies its origin and integrity. over a message or document. RSA and ECDSA are widely deployed for signatures in certificates, software distribution, and authentication.
Certificates
A AnalogyThe city registrar seals a letter connecting a courier's name to a particular signet.A certificate authority signs the binding between an identity and a public key, which the client checks against a trusted chain. is a signed document that binds a public key to an identity under a defined trust model. X.509 certificates presented by TLS servers are a common example.
Hash functions
A AnalogyThe keep's clerk reduces each dispatch to a short tally that usually changes when the dispatch changes.A cryptographic hash produces a fixed-length digest designed to be hard to reverse or match with a different message. produces a fixed-length fingerprint from input of any length. SHA-256 and SHA-512 are common examples. Hashes support integrity checks, message authentication codes, and digital signatures.
TLS
AnalogyThe gate guard checks a courier's credentials before both sides start sending dispatches in locked chests.TLS authenticates the server and derives keys to protect the connection's traffic. protects HTTPS and many other application connections. In a certificate-based TLS 1.3 handshake, the parties establish a shared secret and the client authenticates the server using its certificate. Those mechanisms can migrate on different timelines.
SSH
The transport protocol used for secure remote administration. The server advertises the key-exchange and host-key algorithms it supports in its KEXINIT message, which is observable without opening a session.
IPsec and IKE
IKE is the key-exchange and negotiation protocol that establishes IPsec security associations for VPN connections. Its message structure makes discovery-level observation possible. Peer authentication and tunnel setup require further exchanges.
What quantum computing changes
Quantum algorithms affect different mechanisms differently.
AnalogyA locksmith learns how an old lock works from its visible design and makes a key to open it.A sufficiently capable quantum computer running Shor’s algorithm could break widely used public-key schemes such as RSA and elliptic-curve cryptography. attacks the mathematical problems behind RSA and elliptic-curve cryptography. On a large, fault-tolerant quantum computer, it could recover session keys from recorded TLS handshakes that relied solely on vulnerable key establishment. It could also enable forgery of classical public-key signatures.
AnalogyA locksmith can search a rack of keys faster, and a larger rack still makes the job harder.Grover’s algorithm reduces an ideal brute-force search to roughly the square root of the usual number of trials. provides a quadratic speedup for unstructured search. In the ideal model, searching a 128-bit key space takes on the order of 2⁶⁴ quantum queries. Practical attack costs depend on the resources needed to run those queries. AES-256 offers a larger margin.
Standardized post-quantum algorithms are designed around mathematical problems believed to resist both classical and quantum attacks. Lattice problems, hash constructions, and code-based problems are the main families under study. Belief is not proof; standards are expected to evolve.
The standardized algorithms
NIST has published three initial post-quantum standards.
AnalogyA messenger uses the keep's public lock to prepare a parcel and a secret, and the keeper recovers that same secret by opening the parcel.ML-KEM uses a public key to produce a shared secret and a ciphertext, which the private key holder uses to recover the same secret. — FIPS 203
A post-quantum key-encapsulation mechanism for establishing a shared secret. Protocols can also combine it with a classical key exchange.
ML-DSA — FIPS 204
A lattice-based digital signature algorithm. Candidate replacement for RSA and ECDSA signatures.
SLH-DSA — FIPS 205
A stateless hash-based signature algorithm built on different assumptions from ML-DSA.
Hybrid key establishment
AnalogyTwo keeps use an old lock and a new lock on a chest, so one sound lock can still protect the contents.Hybrid key exchange combines classical and post-quantum contributions so a sound design can withstand failure of either component. combines a classical and a post-quantum contribution into one shared secret. A sound combination aims to preserve that secret if either component remains secure. X25519MLKEM768 is one of the hybrid groups standardized for TLS 1.3.
Hybrid lets operators begin the transition in network protocols before every certificate authority and signature-dependent system has migrated.
Why this matters for inventory
A single "quantum safe" label is not meaningful at the connection level. In one TLS session, key establishment may use a hybrid post-quantum group while the server's certificate is still signed with ECDSA. QuReddy reports those two properties separately because they migrate on different timelines and depend on different upstream vendors.