Six interactive simulations covering the algorithms that secure the internet today — and the post-quantum algorithms that will secure it tomorrow.
Each simulator lets you set real parameters, watch the math unfold step by step, and understand exactly why each algorithm is secure — or isn't.
The algorithm that started it all. Pick two primes, generate public and private keys, encrypt a message character-by-character and decrypt it back — all with real modular arithmetic shown live.
The original public-key exchange. Watch Alice and Bob agree on a shared secret over a completely public channel — without ever transmitting it — using modular exponentiation.
DH on an elliptic curve over a finite field. See real point addition and scalar multiplication, watch public keys become curve points, and understand why ECDH dominates modern TLS.
The quantum-safe replacement for ECDH. Explore lattices, Module-LWE key generation, and the encapsulation/decapsulation cycle — already deployed in Chrome, Signal, and iMessage.
The general-purpose quantum-safe signature scheme. Generate keys, sign a message, verify it — then try tampering and watch the scheme detect forgeries instantly.
The compact post-quantum signature scheme. NTRU lattices and Gaussian sampling produce signatures 4× smaller than Dilithium. Explore the NTRU structure, sign, verify, and see why size matters for TLS certificates.
RSA was a Swiss Army knife that handled both encryption and signing. The post-quantum world cleanly separates those roles.
| Job | Classical | Post-Quantum (NIST 2024) | Transition strategy |
|---|---|---|---|
| Key exchange / KEM | RSA, DH, ECDH | Kyber (FIPS 203) | X25519 + Kyber768 hybrid now |
| Signatures (general) | RSA-PSS, ECDSA, EdDSA | Dilithium (FIPS 204) | EdDSA + Dilithium hybrid now |
| Signatures (compact) | ECDSA (64 B) | FALCON (FIPS 206) | IoT, TLS certs, blockchains |
| Signatures (conservative) | RSA-PSS | SPHINCS+ (FIPS 205) | Hash-based, largest sigs |
From the first public-key paper to NIST standards that will protect data for the next 50 years.