← Back to section · Education & Knowledge Base

Security Levels and Parameters: What Does 128-Bit Security Actually Mean?

Bits of security measure the cost of attacking, not the length of a key. This article explains the meaning of security levels, the reference frame behind NIST's post-quantum categories, and why a higher level is not always better.

Published 22 November 2026 · 5 min read · PQ Frontier

Security Levels and Parameters: What Does 128-Bit Security Actually Mean?
AI-generated site artwork
Video explainer · Concept Explainers: intuition on a lattice

One yardstick: how much work must an attack do?

Saying an algorithm offers “128-bit security” is not saying its key is 128 bits long. It is saying that the best known attack requires on the order of 2^128 elementary operations to succeed — equivalent to trying every key of a 128-bit key space one by one. Bits of security are a unit of attack cost, a common yardstick that lets algorithms of entirely different principles be compared: whether your key is a 256-bit elliptic-curve point, an RSA modulus of several thousand bits, or lattice parameters of tens of thousands of bits, all can be converted into “how many bits of brute force is this worth?”

Why convert at all? Because key lengths are completely incomparable across algorithms. An RSA-2048 key is over two thousand bits long, yet its security strength is only about 112 bits — integer factorization has algorithms far faster than brute force. A 256-bit elliptic-curve key is worth about 128 bits of security. Post-quantum keys routinely run to thousands of bytes, and their security levels are still quoted on the same yardstick. Judging strength by key size alone is like judging a boxer by body weight alone.

The NIST categories: anchoring new algorithms to old coordinates

The security of a post-quantum algorithm cannot be promised in “years,” so NIST’s approach is to provide a reference frame: submitted algorithms must declare one of five security categories, every one of them anchored to a familiar classical primitive:

  • Category I: at least as hard to break as AES-128 (key search);
  • Category II: at least as hard as finding a collision in SHA-256;
  • Category III: at least as hard to break as AES-192;
  • Category IV: at least as hard as finding a collision in SHA-384;
  • Category V: at least as hard to break as AES-256.

The standardized ML-KEM offers three parameter sets on these coordinates: ML-KEM-512 targets Category I, ML-KEM-768 targets Category III, and ML-KEM-1024 targets Category V. When reading a parameter table, first check which category a set anchors to, then what it pays in size and speed for that anchor — only then will raw numbers stop misleading you.

One quantum correction is worth noting: Grover’s algorithm roughly takes the square root of brute-force search cost, so a symmetric algorithm’s effective strength against a quantum attacker is about halved in bits. That is one reason AES-256 is still considered ample in the post-quantum era: after the “quantum conversion,” it retains roughly 128 bits of margin.

Parameters: the knobs behind the levels

Choosing different parameters for the same algorithm yields different levels. Parameters are the knobs trading off security, size, and speed: raise the lattice dimension or widen the noise distribution and attacks get harder, but public keys, ciphertexts, and signatures all grow, and computation slows. Post-quantum parameter tables are more complex than classical ones precisely because “key length” is no longer a single number but a set of mutually constraining choices. The real engineering question is not “which is strongest” but “which level does my scenario need, and can I afford that level’s size and speed?”

Beyond the level: margin and attack model

Beyond the bit number, two further dimensions decide how much a level can be trusted. The first is margin: does the parameter set just barely cross the target level, or does it clear it with room to spare? Historical downgrades of security estimates punished exactly the sets with no margin — when a new attack appeared, the borderline parameters fell below the line at once, while generous ones merely went from “very safe” to “still safe.” The second is the attack model: how much quantum and classical computing power the estimate grants the attacker, how much memory, and whether attacks can be parallelized. Under different assumptions, the same parameter set can come out a whole notch apart. A serious parameter table states the cost model it relies on; one that reports a number without a model deserves a question mark.

There is also a practical correction called the multi-target attack: when an attacker faces thousands of keys and needs to break only one of them, the average cost per key falls below the nominal level. For massively deployed systems this means a systematic discount between the stated level and actual risk, and deployment scale belongs in the selection process. The level is a starting point, not a verdict — it leads the discussion toward the more specific questions of “under what assumptions, and against whom.”

Two common misconceptions

Misconception one: higher is always better, so just pick the top level. The top level’s price is real: bigger handshake messages, slower signature verification, tighter embedded storage. For the great majority of Internet scenarios, the industry mainstream sits at the middle level (ML-KEM-768, for instance), because its security margin is already ample while the cost stays acceptable. The goal of security engineering is to match risk to cost, not to turn every knob to maximum.

Misconception two: reaching a level means being proven secure. A level is an estimate of the cost of known attacks, not a mathematical certificate. New attacks rewrite estimates — more than one algorithm in history has had its security level slashed after publication. So parameter selection should weigh not only the current level but the algorithm family’s years of study and depth of analysis: a level that has survived years of siege by the world’s cryptographers is more credible than a level a new algorithm reports about itself.

In daily work, this concept pays off in two immediate ways. First, when reviewing vendor material: anything that quotes key lengths while never mentioning security levels or reference frames should be treated as having provided no security information at all. Second, when grading assets: not all data deserves the top level; matching levels to data’s shelf life, value, and exposure is what turns a parameter table into the language of risk. Get these two things right, and the parameter table stops being an exam paper and becomes a decision tool.

Closing: ask for the reference frame before reading the number

Security levels are cryptography’s most useful simplification and its most abused number. Next time you meet a claim like “military grade” or “256-bit,” ask first: what reference frame is it anchored to, under which attack was it converted, and who assessed it, when? Answer those three, and the parameter table turns from advertisement back into an engineering document.

Tags: security levelsparametersNIST categoriesbits of security