What it is
ML-KEM-768 (FIPS-203): real module-lattice key encapsulation — 1184-byte ek, 1088-byte ct, 32-byte ss. PQC & Algorithm Primitives is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns.
@noble/post-quantum (audited, MIT, zero-dependency). 45/45 tests pass. Key sizes verified against FIPS 203 Table 3 and FIPS 204. IBM Quantum API calls proxied through a Cloudflare Worker to avoid CORS.
Core features
ML-KEM-768 (FIPS-203): real module-lattice key encapsulation — 1184-byte ek, 1088-byte ct, 32-byte ss
ML-DSA-65 (FIPS-204): real lattice digital signatures — 1952-byte pk, 3309-byte sig max
HybridPQCScheme: ML-DSA sign + ML-KEM encapsulate in one call; decapsulateAndVerify round-trip
All three security levels: ML-KEM-512/768/1024 + ML-DSA-44/65/87
SIC-POVM swarm management: d² agents per dimension, biological tomography, calcium homeostasis cost
IBM Quantum bridge: execute circuits against IBM hardware via cloud API