PLAIN QUANTUM
Search

What do the numbers in algorithm names mean?

  • Level: Intermediate
  • 3 min read
  • Quick answer
The short answer

The numbers in a cryptographic algorithm's name usually describe a size, and so roughly how strong it is. In older names they count bits: AES-256 uses a 256-bit key and RSA-2048 a 2,048-bit modulus. In the new post-quantum names they label a parameter set: ML-KEM-512, -768 and -1024 are three strengths of the same algorithm. NIST places each post-quantum setting in one of five security categories, measured against breaking AES or SHA-2. A bigger number costs size and speed, and some rules require a particular one.

What the numbers mean

What the number isStrength
AES-128, AES-256Key length in bitsThe yardsticks for NIST categories 1 and 5
SHA-256, SHA-384Length of the hash output in bitsTheir collision resistance is the yardstick for categories 2 and 4
RSA-2048Size of the modulus in bitsAbout 112 bits against ordinary computers; broken by Shor's algorithm
P-256 (elliptic curve)Size of the curve in bitsAbout 128 bits against ordinary computers; broken by Shor's algorithm
ML-KEM-512, -768, -1024Size of the underlying latticeCategories 1, 3 and 5
ML-DSA-44, -65, -87Dimensions of its matrix (4 by 4, 6 by 5, 8 by 7)Categories 2, 3 and 5
SLH-DSA-…-128s, -192f, -256s and so onTarget strength in bits; "s" for smaller signatures, "f" for faster signingCategories 1, 3 and 5
Old names count bits. Post-quantum names label a setting; the category tells you the strength.
Reading a name: ML-KEM-768 ML - KEM - 768 ML Module lattice the maths family KEM Key-encapsulation mechanism the job: setting up a shared key 768 Parameter set a setting, not a bit count Category 3 at least as hard to break as AES-192 RSA-2048 Old style: 2048 counts the bits in the modulus Reading a name: ML-KEM-768 ML - KEM - 768 ML Module lattice the maths family KEM Key-encapsulation mechanism the job: setting up a shared key 768 Parameter set a setting, not a bit count Category 3 at least as hard to break as AES-192 RSA-2048 Old style: 2048 counts the bits in the modulus
ML-KEM-768 read in parts. The number names a setting; the category says how strong it is.

The five security categories

NIST defines its categories by comparison. Breaking a category 1 algorithm must take at least as much effort as finding an AES-128 key by brute force; category 3 compares with AES-192 and category 5 with AES-256. Categories 2 and 4 compare with finding collisions in SHA-256 and SHA-384. Every category is designed to resist known quantum attacks; a higher category buys extra margin.

Web browsers today use ML-KEM-768, paired with an older method in a hybrid called X25519MLKEM768. The NSA's CNSA 2.0 requires the strongest settings, ML-KEM-1024 and ML-DSA-87, for US national security systems, so "post-quantum" doesn't automatically mean "meets every requirement".

In each family, a bigger number costs more bytes Public key plus ciphertext or signature, in bytes, drawn to scale category 512 not matched for equal security RSA-2048 ML-KEM: public key + ciphertext 1,568 ML-KEM-512 1 2,272 ML-KEM-768 3 3,136 ML-KEM-1024 5 ML-DSA: public key + signature 3,732 ML-DSA-44 2 5,261 ML-DSA-65 3 7,219 ML-DSA-87 5 0 2,000 4,000 6,000 public key ciphertext or signature Sources: FIPS 203, FIPS 204 In each family, a bigger number costs more bytes Public key plus ciphertext or signature, bytes, to scale RSA-2048 512 not matched for equal security ML-KEM: public key + ciphertext ML-KEM-512 category 1 1,568 ML-KEM-768 category 3 2,272 ML-KEM-1024 category 5 3,136 ML-DSA: public key + signature ML-DSA-44 category 2 3,732 ML-DSA-65 category 3 5,261 ML-DSA-87 category 5 7,219 0 3,000 6,000 public key ciphertext or signature Sources: FIPS 203, FIPS 204
Within each family, each step up in category costs more bytes. The ML-KEM bars add the public key and the ciphertext; the ML-DSA bars add the public key and one signature. RSA-2048 (a 256-byte public key and a 256-byte signature) is there for scale only: its strength is not matched to any category, and a quantum computer would break it. RSA's real encodings add a few bytes.

Common confusions

  • "ML-KEM-768 has 768-bit security." No. The number is a parameter size; its strength is category 3, at least as hard to break as AES-192.
  • "Only the biggest version is quantum-safe." No. All three ML-KEM and ML-DSA settings are designed to resist known quantum attacks.
  • "A bigger RSA number fixes the quantum problem." No. NIST plans to retire RSA and elliptic-curve algorithms at every key size (NIST IR 8547).

Where this comes up

Sources and further reading

Tags show the kind of source (how sources are chosen and checked). Checked against these sources on 13 November 2026.

  1. StandardFIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM)NIST, 2024
  2. StandardFIPS 204: Module-Lattice-Based Digital Signature Standard (ML-DSA)NIST, 2024
  3. StandardFIPS 205: Stateless Hash-Based Digital Signature Standard (SLH-DSA)NIST, 2024
  4. StandardRFC 10024: Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3IETF, 2026
  5. Company announcementState of the post-quantum Internet in 2025Bas Westerbaan, Cloudflare, 2025
  6. Government guidanceNIST IR 8547: Transition to Post-Quantum Cryptography StandardsNIST, 2026
  7. StandardSP 800-57 Part 1 Rev. 5: Recommendation for Key ManagementNIST, 2020
  8. Government guidanceNSA releases future quantum-resistant algorithm requirements for national security systems (CNSA 2.0)US National Security Agency, 2022

Written by Muhammad Atif · Reviewed 26 November 2026 · Report a correction