The standards, not our inventions
ML-KEM (FIPS 203), ML-DSA (FIPS 204), SHA-3 and SHAKE, the X-Wing hybrid KEM, X25519 per RFC 7748, and Falcon verification. We implement the published algorithms; we don't improvise new ones.
Release candidate, pre-1.0, not yet audited
Our post-quantum crypto core. Zero dependencies, checked byte for byte, no hope required.
Pandora's Box is the post-quantum cryptography under everything we ship. Written from scratch in Kotlin, matched byte for byte against NIST's own test vectors, and packaged so anyone can open it. Unlike the original, this one you're supposed to.
ML-KEM (FIPS 203), ML-DSA (FIPS 204), SHA-3 and SHAKE, the X-Wing hybrid KEM, X25519 per RFC 7748, and Falcon verification. We implement the published algorithms; we don't improvise new ones.
Outputs match NIST ACVP vectors exactly, along with the X-Wing and RFC 7748 known-answer tests. Reference implementations are used only as test oracles and never ship in the artifact.
X25519 field arithmetic and ML-DSA secret sampling were rewritten branch-free, then confirmed with dudect timing tests. The one remaining residual, the ML-DSA signing restart count, is inherent to the scheme and documented.
We opened the box. Everything inside was lattice math. Hope was in the test suite.
The Keccak permutation running this demo was written from scratch in TypeScript for this page and checked against Python's hashlib on hundreds of random inputs.
Change one letter and watch roughly half the bits flip.
26a208fc7ab2c066d5e3b0f20ca660d071fc6d7b9730e13eae27ff4145d53e69Type to see the avalanche.
027050a7c922a661f19ff250718408f851d2bb85d89c11b3a92ce2071daeb41fThis is a web demo of the same standard, not the Kotlin library itself. Pandora's Box ships as a JVM artifact.
Seal this page
One click runs a real ML-KEM-768 key exchange in your browser, derives an AES-256-GCM key from it and encrypts every block of text on this page. What you see afterwards is the actual ciphertext.
A fresh ML-KEM-768 key pair, one encapsulation, SHA3-256 to derive the key, then AES-256-GCM over each block with its own nonce. The original text is not kept anywhere.
Flip a single bit of the 1,088-byte ML-KEM ciphertext. Decapsulation doesn't error; it quietly returns a different key, exactly as FIPS 203 specifies.
With the right ciphertext, every block decrypts and authenticates. With the flipped bit, every block fails authentication and nothing opens.
A demo, not a security boundary: the keys live in this tab's memory and vanish on reload or navigation. ML-KEM here is our own TypeScript port, checked byte for byte against all of NIST's ACVP vectors; AES-GCM is your browser's built-in WebCrypto.