State of Browser & Post-Quantum Cryptography Speed (2026–2027)
Empirical findings from the 23-primitive EB-Bench v1.0 suite comparing native SubtleCrypto,
self-hosted WebAssembly (WASM), Pure-ESM JavaScript, and NIST Post-Quantum standards (FIPS 203 / FIPS 204).
Every measurement is reproducible locally on your own hardware at /bench/.
1. The 3-Way Runtime Gap (WebCrypto vs. WASM vs. Pure JS)
| Comparison | Faster Runtime | Slower Runtime | Measured Ratio |
|---|---|---|---|
BLAKE3 hashing (16–64 KB) |
WASM (515–577 MB/s) |
Pure JS (7.5–11 MB/s) |
~50× faster |
Argon2id (16 MiB, t=2) |
WASM (44–50 ms) |
Pure JS (283–309 ms) |
~6.2× faster |
AES-256-GCM vs. ChaCha20 |
WebCrypto AES-NI | Pure JS ChaCha20 | 15×–40× faster |
Engineering takeaway: Never ship pure-JS hashing or memory-hard KDFs on latency-sensitive paths.
Use native SubtleCrypto where hardware instructions exist (AES-GCM, SHA-256, ECDSA, X25519) and self-hosted WASM for modern primitives not yet in WebCrypto (BLAKE3, Argon2id).
2. Post-Quantum Cryptography Is Already Practical in Browsers
A persistent myth is that NIST Post-Quantum lattice algorithms are too heavy for client-side web apps.
In EB-Bench v1.0, even an audited pure-ESM implementation of ML-KEM-768 (FIPS 203) completes full encapsulate + decapsulate in ~2–3 ms (350–525 ops/s on single-core runtimes), and ML-DSA-65 (FIPS 204) sign + verify completes in ~10–15 ms.
For hybrid TLS handshakes or zero-knowledge key wrapping, post-quantum latency is already imperceptible to users.
3. Real-World Composite Workloads
- Zero-Knowledge Vault Sync: Deriving a vault key + authenticating 50 encrypted 4 KB records + SHA-256 Merkle root runs at
300–400+ records/sstrictly client-side. - Hybrid Post-Quantum TLS Handshake: Combined
X25519 + ML-KEM-768 + SHA-256 + Ed25519 + ML-DSA-65sustains~45–58 handshakes/sper core. - JWT Auth Gateway Burst: Native WebCrypto
ES256verifies3,800–4,600+ tokens/son a single thread.
4. Cite This Monograph (BibTeX & APA)
@techreport{encryptbench2026pqc,
title = {State of Browser and Post-Quantum Cryptography Speed (2026--2027)},
author = {{EncryptBench Empirical Lab}},
year = {2026},
month = nov,
institution = {EncryptBench},
note = {EB-Bench v1.0 Monograph EB-2026-01, zero-upload connect-src 'none' harness},
url = {https://encryptbench.com/report/}
}
EncryptBench Empirical Lab. (2026). State of Browser & Post-Quantum Cryptography Speed (2026–2027) (Monograph EB-2026-01, EB-Bench v1.0). https://encryptbench.com/report/
connect-src 'none'.