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'
Verify this independently in DevTools (Network & Security tabs), by enabling Airplane Mode after load, or by triggering a live outbound probe right here:
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 and 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 inputs. - Known-Answer Self-Tests (KAT): Every full suite run validates
5/5FIPS 180-4 / 203 / 204 and RFC 8439 vectors before timing. - Honest Statistics: Results report median throughput (MB/s or ops/sec), p95 per-op latency (ms), CV% jitter, and runtime origin (native
SubtleCrypto, WASM, or pure ESM).
3. Citation & Open Data Policy
All benchmark tables and exported Markdown/JSON/SVG snapshots produced on EncryptBench are free to cite in GitHub READMEs, technical blog posts, security reviews, and academic papers with attribution to encryptbench.com.