← Back to section · Post-Quantum Cryptography
Three Families of Assumptions Compared: Where Lattice, Code-Based, and Hash-Based Trust Comes From
Post-quantum algorithms divide by security assumption into lattice, code-based, and hash-based families (plus niche multivariate and isogeny routes). This article compares each family's assumption age, structural strength, and historical lessons, explaining why NIST insists on portfolio diversity.
Memorizing post-quantum algorithms by name means little; understanding them by family builds judgment. Every algorithm’s security ultimately reduces to a mathematical assumption, and the assumption’s age, structure, and depth of study decide how much trust it deserves. This article compares the lattice, code-based, and hash-based families, plus two niche routes whose stories are already finished — written in lessons.
The hash family: fewest assumptions, highest price
Hash-based signatures depend only on hash functions’ preimage resistance, second-preimage resistance, and collision resistance — among the most thoroughly analyzed assumption classes, with no hidden structure for an attacker to exploit. The SPHINCS+ line (standardized as SLH-DSA) takes design conservatism to an extreme. The price is in performance: signatures of kilobytes to tens of kilobytes, and slow signing. Its stateful relatives LMS/XMSS share the assumption and trade state management for size. The hash family’s role in the portfolio is the ballast: not fast, but still standing if lattice and code assumptions ever fail.
The lattice family: efficiency king, young assumption
ML-KEM, ML-DSA, and Falcon all stand on LWE and its structured variants (Ring/Module-LWE, NTRU). Lattice assumptions have been intensively studied since Ajtai’s foundational work in 1996 and Regev’s LWE in 2005, backed by worst-case to average-case reductions — the reason they are trusted despite relative youth. The structured variants trade algebraic structure for small sizes and high speed, at the cost of a correspondingly structured attack surface: algorithms against lattice problems (sieving, BKZ) keep advancing, so parameters must keep generous margins. Efficiency and reductions are this family’s two trump cards; assumption age is its only shortcoming.
The code-based family: a veteran and a newcomer
The McEliece system (1978) rests on the decoding problem with a hidden Goppa-code structure; across four decades, information-set decoding has improved only incrementally, giving it one of the longest empirical track records of any post-quantum assumption — priced in enormous public keys. HQC takes the generic decoding problem for quasi-cyclic codes: no hidden structure, a cleaner reduction, but a much shorter analysis history. Within one family, the “structured veteran” and the “unstructured newcomer” are two different trades between conservatism and elegance.
Lessons from two niche routes
The multivariate scheme Rainbow and the isogeny scheme SIKE were both formal candidates in the NIST process, yet both were broken by new attacks on classical computers around 2022 — SIKE’s break famously needed only hours on an ordinary single-core machine. Their elimination carries the lesson: the more intricate the structure and the more isolated the assumption, the more total the collapse once the structure is seen through. The NIST process earns its value exactly here — using public scrutiny to eliminate fragile assumptions before standards are published.
Reduction strength: a second layer within families
Within one family, the quality of the security argument also varies. Among lattice schemes, plain LWE has reductions from worst-case lattice problems, while Ring/Module variants route through an extra layer of structured assumption; among code-based schemes, HQC’s generic decoding problem has a fairly clean reduction, while McEliece rests mainly on four decades of attack empiricism rather than reductions; the hash family’s arguments are the most direct, with security corresponding almost item-for-item to concrete hash-function properties. When reading an algorithm’s security, distinguish whether it relies on “mathematical reduction,” “attack empiricism,” or both — that decides how you are exposed to future attack progress: reduction-based schemes fear the reduction being circumvented, empiricism-based ones fear a new attack paradigm.
How family predicts engineering ecosystem
Family also foreshadows engineering temperament. The hash family is simplest to implement and the most consistent across platforms; the lattice family’s regular arithmetic vectorizes well and its ecosystem is the most prosperous; within the code-based family, McEliece’s large matrix operations and HQC’s polynomial arithmetic each pose their own optimization problems, and implementation counts are the fewest. Factoring family temperament into selection avoids the embarrassment of “the algorithm is fine, the ecosystem cannot carry it”: an algorithm with no mature implementation on the target platform should not be a critical system’s only choice, however good its paper parameters look.
Risk correlation across families: why “different family” is what counts as diversified
The key to diversity is not count but correlation. ML-KEM and ML-DSA are both lattice-family; a breakthrough against lattice problems could hit both at once — pairing them into one system is not diversification at the assumption level. True diversification crosses families: key exchange on lattices, root signatures on hashes, backup KEM on codes, with mutually unrelated failure modes. When evaluating any “dual-algorithm” proposal, ask first: are they from the same family? Same family buys performance and ecosystem synergy; cross-family is what buys insurance. NIST’s standards portfolio is assembled by family precisely to write this principle into the world’s default configuration.
A family cheat sheet for system designers
Distilled into a cheat sheet: for general high performance and a mature ecosystem, choose the lattice family (ML-KEM, ML-DSA); for maximum conservatism where size is affordable, choose the hash family (SLH-DSA, or LMS/XMSS where state is controllable); for a backup key exchange uncorrelated with lattices, track the code family’s HQC, and evaluate McEliece where extreme conservatism is needed and public keys can be pre-provisioned; multivariate and isogeny routes are, at this stage, research tracking only, not production selection. One more line beyond the cheat sheet: family judgment precedes algorithm judgment — decide which assumption class to trust and which failure modes you need first, then pick the specific algorithm and parameters within the family. Reverse the order, and the benchmark table will carry the selection away.
Family diversity: the portfolio-level conclusion
With the three families compared, NIST’s portfolio stops being mysterious: the main force uses the most efficient family, lattices (ML-KEM, ML-DSA); the ballast uses the most conservative, hashes (SLH-DSA); the backup KEM chooses codes (HQC), on a different assumption. The lesson for system designers is equally direct: at least at the roadmap level, critical systems should retain cross-family switching capability, and never let a single assumption become the whole organization’s single point of failure.
Tags: security assumptionslattice cryptographycode-based cryptographyhash-based signatures