Commit Graph

4 Commits

Author SHA1 Message Date
Ivan Vershigora
61b1996550 REF: scrypt + AES-256-GCM (v2 envelope), legacy v1 read-only
Encrypt now emits a v2: envelope — scrypt (N=2^15, r=8, p=1) KDF plus
AES-256-GCM. Decrypt still reads legacy Salted__ (EVP_BytesToKey-MD5 +
AES-256-CBC) ciphertexts, and lazily rewrites them as v2 on the first
successful unlock. Public encrypt/decrypt are now async.
2026-06-29 12:02:31 +01:00
Ivan Vershigora
276a9ea8f8
REF: swap crypto-js for @noble/ciphers + hashes 2026-06-19 12:23:35 +01:00
Ivan Vershigora
49f0b1a753
fix: replace require with import 2024-04-09 18:14:14 +02:00
Marcos Rodriguez Velez
24dcdf32b4
REF: Encryption JS to TS 2023-10-23 20:57:41 -04:00