NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #1198 most downloaded on NuGet
Internal implementation package not meant for direct consumption. Please do not reference directly.
Latest stable
1.0.22
Last release 7 months ago
09 Apr 2026
Ships fairly regularly
a new release about every 9 months
Some releases are documented
notes for 8 of 17 stable releases
1 version withdrawn
withdrawn after publishing
127 years old
20 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
This point release includes all the changes from 1.0.21-stable, plus:
This point release includes all the changes from 1.0.21-stable, plus:
crypto_kem_mlkem768_*() functions.crypto_kem_*() functions. X-Wing is the recommended KEM for mostcrypto_hash_sha3256_*()crypto_hash_sha3512_*(), with both one-shot and streaming APIs.crypto_pwhash with the interactive settings can be used in purecrypto_core_keccak1600_state has been added.crypto_ipcrypt_nd_keygen() helper function.crypto_auth_hmacsha256_init and crypto_auth_hmacsha512_init now_init functions.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Version 1.0.21 This point release includes all the changes from 1.0.20-stable, which include a security fix for the crypto_core_ed25519_is_valid_point…
Version 1.0.21
This point release includes all the changes from 1.0.20-stable, which include a security fix for the crypto_core_ed25519_is_valid_point() function, as well as two new sets of functions:
crypto_ipcrypt_* functions implement mechanisms for securely encrypting and anonymizing IP addresses.sodium_bin2ip and sodium_ip2bin helper functions have been added to complement the crypto_ipcrypt_* functions and easily convert addresses between bytes and strings.crypto_xof_shake* and crypto_xof_turboshake* functions are standard extendable output functions. From input of any length, they can derive output of any length with the same properties as hash functions. These primitives are required by many post-quantum mechanisms, but can also be used for a wide range of applications, including key derivation, session encryption and more.Version 1.0.20-stable
crypto_core_ed25519_is_valid_point() now properly rejects small-order points that are not in the main subgroup((nonnull)) attributes have been relaxed on some crypto_stream* functions to allow NULL output buffers when the output length is zerocrypto_aead_aes256gcm_is_available is exported to JavaScriptThis point release includes all the changes from 1.0.19-stable, mainly addressing compilation issues and improvements to the .NET packages.
This point release includes all the changes from 1.0.19-stable, mainly addressing compilation issues and improvements to the .NET packages.
zig build now requires Zig 0.12.crypto_kdf_hkdf_sha512_statebytes() was added.crypto_aead_aegis*() functions are now exported in JavaScript builds--memory-init-file option has been removed.iOS: bitcode is not generated any more, as it was deprecated by Apple.
This release includes all the changes from 1.0.18-stable, as well as two additions:
crypto_aead_aegis128l_*() and crypto_aead_aegis256_*() namespaces. AEGIS is a family of authenticated ciphers for high-performance applications, leveraging hardware AES acceleration on x86_64 and aarch64. In addition to performance, AEGIS ciphers have unique properties making them easier and safer to use than AES-GCM. They can also be used as high-performance MACs.crypto_kdf_hkdf_*() namespace. It is implemented for the SHA-256 and SHA-512 hash functions.osx.sh build script was renamed to macos.sh.From 1.0.18-stable:
libsodium to WebAssembly/WASI(X).crypto_pwhash_*() functions have been removed from Sumo builds, as they reserve a substantial amount of JavaScript memory, even when not used.CLOCK_MONOTONIC if possible.memset_explicit() is now used, when available.-Ofast or -O3 instead of -O2 by default.unhandledRejection handler is not set any more.MAP_CONCEAL.Emscripten: UTF8ToString() is now exported since Pointer_stringify() has been deprecated.
print and printErr functions are overridden to send
errors to the console, if there is one.UTF8ToString() is now exported since Pointer_stringify()
has been deprecated.dist-builds/wasm32-wasi.sh).core_ed25519_from_hash() and core_ed25519_random().crypto_core_ed25519_scalar_mul() has been implemented for scalar*scalar (mod L) multiplication.getentropy() is now used on systems providing this system call.randombytes_salsa20 has been renamed to randombytes_internal.((nonnull)) attributes have been relaxed to allow 0-length inputs
to be NULL.-ftree-vectorize and -ftree-slp-vectorize compiler switches are
now used, if available, for optimized builds.Nothing published for this version
Signatures computations and verifications are now way faster on 64-bit platforms with compilers supporting 128-bit arithmetic (gcc, clang, icc). This
crypto_scalarmult_ed25519(), crypto_scalarmult_ed25519_base(), crypto_core_ed25519_is_valid_point(), crypto_core_ed25519_add(),
crypto_core_ed25519_sub() and crypto_core_ed25519_from_uniform() (elligator representative to point).crypto_sign_open(), crypto_sign_verify_detached() and crypto_sign_edwards25519sha512batch_open` now reject public keys in non-canonical form in addition to low-order points.ED25519_NONDETERMINISTIC defined in order to use synthetic nonces for EdDSA. This is disabled by default.crypto_pwhash_*() functions are now included in non-sumo builds.sodium_stackzero() was added to wipe content off the stack.The default password hashing algorithm is now Argon2id. The pwhash_str_verify() function can still verify Argon2i hashes without any changes, and pwha
pwhash_str_verify() function can still verify Argon2i hashes without any changes, and pwhash() can still compute Argon2i hashes as well.1 as defined by the OPSLIMIT_MIN constant. This has been fixed..ready promise that will resolve after the Webassembly code is loaded and compiled.iOS binaries should now be compatible with WatchOS and TVOS.
set_sodium_misuse() function. It still aborts by default or if the handler ever returns. This is not a replacement for non-fatal, expected runtime errors. This handler will be only called in unexpected situations due to potential bugs in the library or in language bindings.*_MESSAGEBYTES_MAX macros (and the corresponding _messagebytes_max() symbols) have been added to represent the maximum message size that can be safely handled by a primitive. Language bindings are encouraged to check user inputs against these maximum lengths.crypto_sign_ed25519_pk_to_curve25519() now rejects points that are not on the curve, or not in the main subgroup.sodium_runtime_has_* symbols for CPU features detection are now defined as weak symbols, i.e. they can be replaced with an application-defined implementation. This can be useful to disable AVX* when temperature/power consumption is a concern.crypto_kx_*() now aborts if called with no non-NULL pointers to store keys to.crypto_verify_*() have been added.crypto_pwhash_str_alg() function.sodium_bin2base64()) and decoding (sodium_base642bin()) have been implemented.crypto_secretstream_*() API was added to safely encrypt files and multi-part messages.sodium_pad() and sodium_unpad() helper functions have been added in order to add & remove padding.crypto_pwhash_str_needs_rehash() function was added to check if a password hash string matches the given parameters, or if it needs an update.var statement.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.