ML-KEM-768 WebAssembly Demo

About ML-KEM-768:
ML-KEM-768 (formerly Kyber-768) is a quantum-resistant key encapsulation mechanism standardized by NIST. This demo shows the WebAssembly implementation running directly in your browser. (Also available as mlkem in the browser's console.)

Source code and docs: github.com/dchest/mlkem-wasm
Package: npm install mlkem-wasm

Algorithm Information

Loading WASM module...

Key Exchange Demo

Step 1: Generate Key Pairs

Step 2: Encapsulation (Alice encapsulates with Bob's public key)

Step 3: Decapsulation (Bob decapsulates ciphertext with his private key)

Did it work? Compare Shared Secrets

Performance Benchmark