NewAI Enhanced
1.0.21
Version 1.0.21
Breaking Changes
crypto_core_ed25519_is_valid_point()now properly rejects small-order points outside the main subgroup — verify your Ed25519 validation logic if you rely on the old behavior
Unclaimed project
Are you a maintainer of libsodium? Claim this project to take control of your public changelog and roadmap.
Breaking Changes
crypto_core_ed25519_is_valid_point() now properly rejects small-order points outside the main subgroup — verify your Ed25519 validation logic if you rely on the old behaviorSecurity Fixes
crypto_core_ed25519_is_valid_point() to reject invalid pointsNew Functions
crypto_ipcrypt_*: IP address encryption and anonymizationsodium_bin2ip(), sodium_ip2bin(): convert between byte strings and IP address stringscrypto_xof_shake*, crypto_xof_turboshake*: extendable output functions for key derivation, session encryption, post-quantum mechanismsNew Platform & Compiler Support
Improvements
nonnull attributes on crypto_stream* functions to allow NULL buffers when output length is zerocrypto_aead_aes256gcm_is_available exported to JavaScriptRemoved
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 JavaScript