1.1 KiB
1.1 KiB
@suaveplan/crypto-sodium — Changelog
0.0.0 (suaveplan)
Initial implementation on the suaveplan branch.
Added
sodiumReady(): Promise<void>— lazy WASM initialisation singleton.sodiumAeadEngine— XChaCha20-Poly1305 / ChaCha20-Poly1305 / AES-256-GCM AEAD engine.sodiumAesGcmEngine— AES-256-GCM–preferring AEAD engine (falls back to ChaCha20).createSodiumAeadEngine(opts)— factory for custom AEAD engine configurations.sodiumSignEngine— Ed25519 sign/verify/generateKeypair engine.sodiumAgreeEngine— X25519 Diffie-Hellman agree/generateKeypair engine.sodiumSealedBoxEngine— anonymous-sender sealed box (crypto_box_seal).sodiumAuthBoxEngine— authenticated box (crypto_box_easy).cryptoKdf— BLAKE2b-based deterministic subkey derivation.cryptoAuth/cryptoAuthVerify— BLAKE2b MAC.cryptoPwhashStr/cryptoPwhashStrVerify— Argon2id password hashing.ristretto255namespace — group operations (add, sub, mul, fromHash, toBytes, fromBytes, random).SodiumError+SODIUM_CODES— structured error surface.