spike(wasm-pqc): PQC-in-browser benchmarks — GO on all exit criteria (task 0.3) #52
No reviewers
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit!52
Loading…
Reference in a new issue
No description provided.
Delete branch "spike/wasm-pqc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The biggest Phase-5 risk gate, resolved: GO on all exit criteria.
Stack:
@noble/post-quantum(audited pure-TS) +hash-wasm(real WASM) + native WebCrypto for bulk. KAZ-KEM-in-WASM deferred (ML family is the default since29ca92e; noblehybrid.jscovers a web-safe X25519+ML-KEM hybrid). Gotcha recorded: noble v0.7 API issign(msg, secretKey)/verify(sig, msg, publicKey).Findings table in
spike-notes.md§0.3. Closes #16ponytail-review (§2.4 AI first-pass) — Verdict: Ship (spike). What this change does: adds benchmark scripts measuring ML-KEM/ML-DSA/Argon2id/AES-GCM performance and the gzipped crypto-bundle size in the browser engine (V8), plus the §0.3 findings table.
Checked: benchmarks measure the shapes FailSulit actually uses (KEM per-file ops, AES bulk path via WebCrypto — the 5 MB/s criterion applies there, passed ×463); sanity assertions (shared-secret equality, signature verify, roundtrip size) run in the bench itself; bundle measurement tree-shakes exactly the web-client imports; private spike — no prod code touched; node_modules/out untracked.
Notes (not blocking): Node V8 ≈ Chromium V8 but browser JIT differs — Phase 2 E2E should re-run the same bench in a real browser tab for final numbers; KAZ-KEM-in-WASM deferred with rationale.