How to Beat a Quantum Computer Using WebAssembly?
summary
Demonstrates compiling a C crypto library to WebAssembly with Emscripten to run post‑quantum primitives (SIDH and Diffie‑Hellman variants) in browsers and Node.js. Uses malloc/memory glue and the indirect function table to pass public/private keys between JS and WASM; key generation and secret derivation work but require manual memory management and can cause occasional tab crashes. Notes current quantum hardware (5–50 qubits, noisy) cannot yet break RSA, so these post‑quantum implementations are a forward‑looking experiment with practical caveats.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 7:39Browser crypto flaws
- 15:53Quantum threat to crypto
- 19:52Defense against quantum attacks
- 24:11WebAssembly for crypto
- 34:51Implementing crypto in WASM
- 37:40WebAssembly future
- 39:44Q&A
related talks
35mWebAssembly: now web is a new compiler target architecture
42mWebAssembly? Web and Assembler? WTF!
28mSupercharge your JavaScript with Web Assembly
52mWebAssembly: Taking Your C++ and Going Places
29mWebAssembly - the Final Frontier
53mWebAssembly
50mWeb Assembly
42mWebAssembly: A New Compilation Target for the Web
