Methodology & Zero-Exfiltration Proof
Most online cryptography utilities ask you to trust a privacy policy while running third-party ad tags and analytics scripts. EncryptBench replaces trust with browser-enforced network isolation.
1. Provable Network Isolation
Every benchmark and developer workbench route ships with an explicit Content-Security-Policy header restricting outbound connections to connect-src 'none' and disallowing form submissions via form-action 'none':
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; worker-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'none'; frame-ancestors 'none'; base-uri 'self'; form-action 'none'
You can verify this independently in DevTools (Network & Security tabs), by disconnecting Wi-Fi after page load, or by running the live isolation probe below:
fetch() is blocked by CSP.
2. Deterministic Benchmark Harness
- Off-Main-Thread Execution: All crypto loops execute inside a dedicated Web Worker to avoid DOM layout jitter.
- Warmup & Calibration: Each primitive runs untimed warmup iterations before adaptive timed batches so JIT/WASM tiers stabilize.
- Standardized Payloads: Symmetric & hash primitives report throughput across fixed buffer sizes (
1 KB,64 KB,1 MB,16 MB) using deterministic seeded input buffers. - Honest Statistics: Results report median throughput (MB/s or ops/sec), p95 per-op latency (ms), iteration count, and runtime origin (native
SubtleCryptovs. WASM).
3. Citation & Open Data Policy
All benchmark tables and exported Markdown/JSON snapshots produced on EncryptBench are free to cite in GitHub READMEs, technical blog posts, security reviews, and papers with attribution to encryptbench.com.