Skip to content
Post-quantumhqc

HQC

A code-based KEM that NIST selected in March 2025 as a backup to ML-KEM, built on different mathematics (error-correcting codes rather than lattices).

Why it's safe

HQC exists so that the world is not dependent on a single mathematical assumption if lattices were ever broken. In March 2025 NIST said a draft standard (to be FIPS 207) would follow in about a year, with a final standard expected in 2027; it is not yet a published standard, so check NIST for the current status. Its keys and ciphertexts are larger than ML-KEM's (several kilobytes). Use ML-KEM for deployments today.

Used for
Key exchange
Family
Code-based (quasi-cyclic codes)
Classical security
128 bits
Standards
NIST selection (March 2025); FIPS 207 in development
Read the guideThe new standards: ML-KEM, ML-DSA, SLH-DSA and friends