CryptoLib4Pascal Now Supports NIST Post-Quantum Cryptography StandardsGitHub: https://github.com/Xor-el/CryptoLib4PascalI'm pleased to announce that
CryptoLib4Pascal now supports all three NIST-standardised post-quantum cryptography algorithms, formally published in August 2024:
- ML-KEM (FIPS 203) — post-quantum key encapsulation, replaces ECDH/RSA key exchange
- ML-DSA (FIPS 204) — post-quantum digital signatures, replaces ECDSA/Ed25519/RSA signatures
- SLH-DSA (FIPS 205) — stateless hash-based signatures, an alternative to ML-DSA with security based purely on hash function properties
These are production-ready standards, not drafts. CryptoLib4Pascal is among the very first Object Pascal libraries to implement all three.
Why it matters
A sufficiently scaled quantum computer running Shor's algorithm breaks every classical asymmetric scheme in common use today (RSA, ECDSA, ECDH, Ed25519). The "harvest now, decrypt later" threat means the migration window is already open for applications with long-lived confidentiality requirements.
Parameter sets
All standard parameter sets are supported across all three algorithms — ML-KEM-512/768/1024, ML-DSA-44/65/87, and all twelve SLH-DSA variants (SHAKE and SHA-2 based, fast and compact profiles).
Getting started
Working examples are in the
CryptoLib.Examples directory. Feedback and contributions welcome.