2 Commits

Author SHA1 Message Date
7a81637819 Use a neutral sample string in the crypto round-trip test
The previous sample text coincided with a real PIN from the source
material. Replace it with a placeholder.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:08:11 -05:00
9fa6096a6c Add passphrase encryption module
PBKDF2-SHA256 -> AES-256-GCM via WebCrypto, with versioned blob header
authenticated as GCM additional data. Tests cover round trip, wrong
passphrase, tampering and malformed input. build.js bundles crypto.js
into the single-file output.

Closes #2

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:00:40 -05:00