What do the numbers in algorithm names mean?
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 is | Strength | |
|---|---|---|
| AES-128, AES-256 | Key length in bits | The yardsticks for NIST categories 1 and 5 |
| SHA-256, SHA-384 | Length of the hash output in bits | Their collision resistance is the yardstick for categories 2 and 4 |
| RSA-2048 | Size of the modulus in bits | About 112 bits against ordinary computers; broken by Shor's algorithm |
| P-256 (elliptic curve) | Size of the curve in bits | About 128 bits against ordinary computers; broken by Shor's algorithm |
| ML-KEM-512, -768, -1024 | Size of the underlying lattice | Categories 1, 3 and 5 |
| ML-DSA-44, -65, -87 | Dimensions of its matrix (4 by 4, 6 by 5, 8 by 7) | Categories 2, 3 and 5 |
| SLH-DSA-…-128s, -192f, -256s and so on | Target strength in bits; "s" for smaller signatures, "f" for faster signing | Categories 1, 3 and 5 |
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".
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
- LessonPost-quantum cryptography for non-engineersQuantum and security · 14 min
- GuideChapter 1 · What quantum threatens in a bank, and what it doesn'tProfessionals · Banking guide
- GuideChapter 7 · Governance and the regulatory mapProfessionals · Banking guide
Sources and further reading
Tags show the kind of source (how sources are chosen and checked). Checked against these sources on 13 November 2026.
- StandardFIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM)NIST, 2024
- StandardFIPS 204: Module-Lattice-Based Digital Signature Standard (ML-DSA)NIST, 2024
- StandardFIPS 205: Stateless Hash-Based Digital Signature Standard (SLH-DSA)NIST, 2024
- StandardRFC 10024: Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3IETF, 2026
- Company announcementState of the post-quantum Internet in 2025Bas Westerbaan, Cloudflare, 2025
- Government guidanceNIST IR 8547: Transition to Post-Quantum Cryptography StandardsNIST, 2026
- StandardSP 800-57 Part 1 Rev. 5: Recommendation for Key ManagementNIST, 2020
- 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