NIST SPECIAL PUBLICATION 800-208

POST-QUANTUM
CRYPTOGRAPHY STANDARDS

Technical specification for HSKG's implementation of Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM) and Module-Lattice-Based Digital Signature Algorithm (ML-DSA).

ML-KEM (FIPS 203)

FORMERLY KYBER

Ind-CCA2 secure key encapsulation mechanism based on the hardness of the Module Learning With Errors (ML-LWE) problem.

Parameter SetNIST LevelPublic Key (Bytes)Ciphertext (Bytes)
ML-KEM-5121 (AES-128)800768
ML-KEM-7683 (AES-192)1,1841,088
ML-KEM-1024 *5 (AES-256)1,5681,568

* HSKG Default Implementation

ML-DSA (FIPS 204)

FORMERLY DILITHIUM

EuF-CMA secure digital signature scheme based on the hardness of the Module Short Integer Solution (ML-SIS) and ML-LWE problems.

Parameter SetNIST LevelPublic Key (Bytes)Signature (Bytes)
ML-DSA-442 (SHA-256)1,3122,420
ML-DSA-65 *3 (AES-192)1,9523,293
ML-DSA-875 (AES-256)2,5924,595

* HSKG Default Implementation

MATHEMATICAL FORMALISM

Module-LWE Problem (Hardness Assumption)

b = As + e   (mod q)
  • A: Public matrix of polynomials in R_q
  • s: Secret vector of small polynomials
  • e: Error vector from centered binomial distribution
  • b: Public output vector (indistinguishable from uniform)

Hybrid Key Exchange Logic (Pseudo-code)

function Hybrid_KEM_Encap(pk_classical, pk_pq) {
  // 1. Classical ECDH (X25519)
  let (ss_c, ct_c) = X25519_Encap(pk_classical);

  // 2. Post-Quantum ML-KEM
  let (ss_pq, ct_pq) = Kyber1024_Encap(pk_pq);

  // 3. KDF Fusion (Double Ratchet)
  let final_key = HKDF_SHA3_512(ss_c || ss_pq);

  return (final_key, ct_c || ct_pq);
}

CRYPTOGRAPHIC PRIMITIVES

Number Theoretic Transform (NTT)

Polynomial multiplication in R_q is accelerated from O(n²) to O(n log n) using NTT.

i = ∑j=0n-1 fj ζ(2i+1)j   (mod q)

Lossy Compression

Discards low-order bits to reduce ciphertext size and add noise for LWE security.

Compressd(x) = ⌈ (2d / q) · x ⌋   (mod 2d)

PERFORMANCE BENCHMARKS (AVX2 Optimized)

AlgorithmKeyGen (Cycles)Encaps/Sign (Cycles)Decaps/Verify (Cycles)Status
ML-KEM-51234,52042,11038,940 VERIFIED
ML-KEM-76858,23069,44061,200 VERIFIED
ML-KEM-102489,10098,55092,330 PRODUCTION
ML-DSA-65120,440350,220140,110 PRODUCTION

* Benchmarks run on Intel Core i9-13900K @ 3.0GHz (Single Core), AVX2 instructions enabled.