← Back to section · Post-Quantum Cryptography
The Two Pillars of Public-Key Cryptography: KEMs Keep Secrets, Signatures Keep Trust
Post-quantum standards come in two families — key encapsulation mechanisms (KEMs) and digital signatures — because they solve two different problems. This article explains their division of labor, interface shapes and engineering temperaments, and why neither can be missing.
Beginners in post-quantum cryptography often puzzle over why the standards split into two families — key encapsulation mechanisms (KEMs), represented by ML-KEM, and digital signatures, represented by ML-DSA and SLH-DSA. The answer lies in the two distinct missions public-key cryptography has carried since its birth: letting strangers speak confidentially, and letting strangers trustworthily confirm identity. When Diffie and Hellman introduced the public-key idea in 1976 they were solving the first; RSA, a year later, offered constructions for both encryption and signatures. Nearly half a century on, that division of labor remains the skeleton of the field. This article explains both pillars at once.
Pillar one: KEMs — first solve “how to share a key safely”
Symmetric encryption is fast and battle-tested, but it has an innate problem: how do two parties who have never met come to hold a session key that only they know, over a network that is wiretapped end to end? A KEM answers in three steps: the receiver generates a key pair and publishes the public key; the sender invokes encapsulation with the public key, producing a ciphertext and, locally, a random shared secret; the receiver decapsulates the ciphertext with the private key and obtains the same shared secret. An eavesdropper sees the public key and the ciphertext but cannot compute the secret.
A KEM is the post-quantum stand-in for classical Diffie–Hellman key exchange, though its interface shape differs: DH is interactive — each side sends a public share and both compute the same secret — while a KEM is a non-interactive one-way flow, one side encapsulating and the other decapsulating, which fits asynchronous and store-and-forward settings better. The ecological niche being replaced is the same: the key-exchange step of the TLS handshake. Note that a KEM does not itself encrypt long messages — it only safely mints a key; the bulk data is still encrypted by symmetric algorithms such as AES. This combination is called a hybrid cryptosystem (not to be confused with the “hybrid deployment” of a later lesson, which means running classical and post-quantum algorithms together).
Pillar two: digital signatures — solve “how to prove I said it”
Confidentiality solves “others cannot hear,” but another class of problem remains: how does a software update prove it really comes from the vendor? How does a certificate prove a website’s identity? How are documents protected against repudiation and tampering? Digital signatures do this: the signer uses a private key to sign a message; anyone with the public key can verify that the signature genuinely came from the private-key holder and that the message is unaltered — yet no one can forge one. Signatures mirror KEMs exactly: a KEM is “anyone can encapsulate, only the key holder can decapsulate”; a signature is “only the key holder can sign, anyone can verify.”
Post-quantum signatures already have two standards: ML-DSA is the lattice-based general-purpose choice, with signatures of a few kilobytes and fast verification; SLH-DSA is the conservative hash-based choice, whose security rests only on hash functions but whose signatures are markedly larger. There are also the stateful hash-based signatures (LMS/XMSS) approved by SP 800-208 for scenarios such as firmware signing where counting state can be strictly managed — their private key must advance its state with every signature, and reusing a state endangers security: an operational discipline unique to the signature world.
Engineering temperaments: why the two families cannot be selected the same way
The two families live in very different usage scenarios. A KEM lives in the instant a connection is established: a few hundred extra bytes of ciphertext and public key affect handshake latency, the secret is used up and discarded, and private keys can be rotated frequently. A signature lives across stretches of time: a firmware signature must still verify in ten years, a certificate must be distributed to and stored on vast fleets of devices, and signature sizes (from a few kilobytes to tens of kilobytes) directly determine feasibility; signature private keys are often used for years, need ceremonial backup and protection, and their compromise is far graver than one session key’s. So when selecting, a KEM is judged mainly on handshake cost and security level, while a signature must additionally weigh size, verification speed, long-term verifiability and private-key operations — applying signature logic to KEMs, or vice versa, yields awkward designs either way.
Neither can be missing: the division of labor in one handshake
Finally, the complete picture. When you open a website, the TLS handshake does two things at once: the server presents a certificate chain — essentially a chain of digital signatures — proving “I really am the site I claim to be”; then the two sides negotiate a session key through key exchange (ECDH today, KEM or hybrid mode after migration) that protects every subsequent byte. With KEMs but no signatures, the “secret channel” you built may lead to an impostor — the man-in-the-middle attack exploits exactly this gap. With signatures but no KEMs, identities may be genuine, but the conversation’s content can be retroactively decrypted by a future quantum computer.
That is why the FIPS standards were published as a set: 203 handles confidentiality, 204 and 205 handle trust, and migration must replace both legs together. Once you grasp this two-pillar structure, every new algorithm you meet later can be placed by asking one question — “is it a KEM or a signature?” — and you have already captured most of its position.
A confusing close relative: why the standards chose KEMs over “public-key encryption”
Attentive readers may ask: the RSA era spoke of “public-key encryption,” so why did the new standards switch to KEMs? The difference is a narrowing of the interface. Public-key encryption lets a sender encrypt any message of their choosing under a public key — a flexible interface, but one that is easy to misuse and harder to secure under chosen-ciphertext attack definitions. A KEM narrows the interface to “encapsulate a random secret”: the sender does not choose a message and simply obtains a random value as the shared secret, handing real data to symmetric encryption. This “leave the caller no room to improvise” design is, paradoxically, safer, easier to standardize and verify, and a natural fit for what key establishment actually needs — protocols never needed public-key encryption of long texts, only a random session key. The combination of a KEM with symmetric encryption (the KEM–DEM paradigm) is the standard modern construction for public-key encryption, and ML-KEM’s victory is a continuation of that design philosophy.
Tags: KEMDigital SignaturesML-KEMML-DSA