nimsodium v0.2.1
Pre-release
Pre-release
Patch hardening pre-release focused on secret key storage.
Highlights:
- Secret key types now use libsodium secure heap allocation instead of GC-managed string storage.
- Secure key memory is locked with
sodium_mlock, protected read-only after initialization, and released withsodium_free. - Default encryption, authentication, signing, KDF, stream, and key-exchange paths avoid internal
rawByteskey export. - Temporary password/KDF-derived key strings are zeroed after wrapping.
rawBytesremains available as an explicit key export operation.
This is still a pre-release before v1.0; API names and stored formats may still change.