← Back to section · Research Resources
The Code-Based Paper Line: Forty Years of Attack and Defence after McEliece
Code-based cryptography is the longest-lived post-quantum route: the 1978 McEliece scheme remains unbroken, and its security history is an evolutionary history of decoding attacks. This index arranges the source constructions, the generic decoding attacks, the quasi-cyclic modernisation and the selection of HQC, and says what to look for at each stop.
Code-based cryptography is the oldest member of the post-quantum family: its source scheme dates to 1978, more than twenty years before the term “post-quantum cryptography” existed, and its core construction remains unbroken. But the centre of gravity of this literature differs sharply from lattice cryptography: on the lattice line the main axis is construction and reductions, while on the code line the main axis is attack — every step forward in generic decoding algorithms forces a recalculation of parameters. Reading this line is, in essence, reading a history in which attack and defence calibrate each other.
Stop One: Two Source Constructions (1978–1986)
McEliece (1978), in a Jet Propulsion Laboratory technical report, proposed the first public-key encryption scheme based on error-correcting codes: the public key is the generator matrix of a binary Goppa code, disguised by permutation and scrambling; the private key is the code’s algebraic decoding algorithm; encryption deliberately adds a fixed weight of errors to a codeword, and decryption is error correction. Its security rests on two pillars: decoding a generic code is an accepted hard problem, and the disguised Goppa structure cannot be distinguished from a random code. More than forty years on, both pillars still stand — that is the confidence with which it persisted to the end of the NIST process under the name Classic McEliece.
Niederreiter (1986) gave the equivalent dual version: the parity-check matrix replaces the generator matrix, and the ciphertext is a syndrome rather than a codeword. Its importance is not merely one more variant: the syndrome viewpoint gave later constructions — especially the quasi-cyclic ones — a uniform language, and the formal description of HQC is built on it. What to understand at this stop: the two schemes share the same hard problem and differ only in engineering form.
Stop Two: The Evolution of Generic Decoding Attacks (1962–2012)
The core tool on the attack side is information-set decoding (ISD): Prange’s (1962) original algorithm randomly guesses a set of error-free positions and solves directly; Lee and Brickell (1988) then allowed a few errors inside the information set, Stern (1993) introduced the zero window and early abort, and Becker, Joux, May and Meurer (2012) pushed further with representation techniques in BJMM. Each generation of ISD pushed the code length and rate needed for a given security level a little higher; the parameter tables were “calibrated” by the attackers in exactly this way.
The key intuition to build at this stop: security estimation for code-based schemes does not, as with lattices, depend on reductions and multiple attack lines in an estimator — its main battlefield is highly concentrated, and the complexity of generic decoding is almost directly the security level of the scheme. That also means any new progress in ISD immediately propagates into parameter revisions across the whole line. There is also a darker thread of structural attacks: distinguishing attacks against Goppa codes have long been effective only at high rates and ineffective against standard parameters, an attack-and-defence detail that underlies Classic McEliece’s confidence in conservative parameters. On the quantum side, Grover acceleration can be embedded in ISD’s search steps, but it yields only a square-root improvement and does not change the route’s viability.
Stop Three: Quasi-Cyclic Modernisation and the Selection of HQC (2018–2025)
McEliece’s fatal weakness is public-key size: keys near a megabyte cannot be deployed in most protocols. The modernisation route’s answer is quasi-cyclic structure: the code’s matrices are generated from a few circulant blocks, so the public key needs to store only a first row. BIKE and HQC are the two representatives of this route, and both entered NIST’s fourth round. The cost is equally clear: the stronger the structure, the more algebraic properties an attacker can exploit, so the security argument for quasi-cyclic codes leans more heavily on the accumulated cryptanalysis record than for random codes.
HQC, proposed by Aguilar Melchor and co-authors (2018), follows the quasi-cyclic route in the Hamming metric, with security reduced to a variant of the syndrome decoding problem. In 2025, NIST announced in report IR 8545 that HQC had been selected for standardisation, positioned as the backup KEM to ML-KEM: the reason is that it rests on a hardness assumption entirely different from lattices, with an independent structure and implementation path. What to grasp at this stop is the selection logic: a backup scheme’s value lies not in winning on performance but in independence of assumptions — the most concrete expression of the risk-diversification principle across the whole post-quantum standards system.
A Side Question: Why This Line Has Almost No Signatures
An attentive reader will notice that this line’s literature is almost all encryption and key encapsulation, with barely a signature in sight. That is no accident: syndrome decoding is naturally a one-way “encryption direction” structure, and signing with it would require producing a low-weight preimage for an arbitrary syndrome — which is the hard problem itself. The CFS signature of Courtois, Finiasz and Sendrier (2001) circumvented the obstacle with repeated attempts, at the price of unattractive signing efficiency and size, and in the twenty-plus years since, that branch has never grown into a competitor to lattice signatures. Understanding this asymmetry explains why the NIST map reads “lattices for signatures, codes for the backup KEM”: not preference, but a division of labour dictated by the two lines’ mathematical structures. When reading a new code-based signature proposal, the first thing to check is what it paid in signature size and signing speed.
Reading Order and What to Look for at Each Stop
Suggested order: first read the scheme description in McEliece’s original report (it is short) and build the intuition of “encryption is adding errors, decryption is correcting them”; then jump to the four generations of ISD, looking only at which step each generation changed and how the complexity exponent moved; then compare with the Classic McEliece submission documents to see how parameters are calibrated to ISD complexity; finally read the HQC scheme description and the selection rationale in IR 8545, and understand the quasi-cyclic structural exchange and the backup positioning thoroughly. For readers who only want the conclusion, this line compresses into one sentence: the code route’s credibility comes from forty years of calibration by attack history, and its weakness has never been security, but size and implementation form. For the same reason, what is worth tracking long-term in this line’s later literature is not new constructions but any substantive progress in ISD and structural attacks — those will appear in parameter discussions before they appear in standard revisions.
References
- McEliece, “A Public-Key Cryptosystem Based on Algebraic Coding Theory”, JPL DSN Progress Report 42-44, 1978
- NIST IR 8545: status report on the fourth-round evaluation and the selection of HQC, 2025
- NIST Post-Quantum Cryptography Standardization project — https://csrc.nist.gov/projects/post-quantum-cryptography
Tags: paper indexcode-based cryptographyMcElieceHQC