PQ

The encryption a quantum computer cannot break — running on this phone, step by step. ML-KEM-768, the NIST standard since 2024, implemented from the text of the standard.

1 · Alice
Alice makes a key pair
2 · Bob
Bob locks a secret to her public key
3 · Alice
Alice unlocks it with her private key

Now send a message

The shared secret becomes an AES-256 key. Type anything; it is encrypted on Bob's side and decrypted on Alice's.

encrypted
decrypted

Against what we use today

SchemePublic keyCiphertextQuantum computer
RSA-2048256 B256 Bbreaks it (Shor, 1994)
X25519 (elliptic curve)32 B32 Bbreaks it (Shor, 1994)
ML-KEM-7681184 B1088 Bno known attack

Bigger keys are the price. Chrome, Firefox and Cloudflare already pair X25519 with ML-KEM-768 in TLS — so the connection to this very page may have used it.

How it works

Lattices

RSA rests on factoring, elliptic curves on discrete logs — a quantum computer solves both with Shor's algorithm. ML-KEM rests on a different problem: given a matrix A and A·s + e with small noise e, find s. No quantum algorithm is known to do that faster than a classical one.

The standard

FIPS 203, published by NIST in August 2024, after a six-year open competition. This page implements it line by line: Keccak, arithmetic in Z₃₃₂₉, the number-theoretic transform, sampling, compression, K-PKE, the KEM with implicit rejection.

Checked

What this is not

Demonstration code, so you can see every step. It has no constant-time guarantees and no audit. For anything real, use a vetted library or the browser's own crypto once it ships ML-KEM.

No server, no request after the page is open. Keys are made here and die with the tab.