Firefox 135.0 发布
libsodium 1.0.7 发布,更新内容如下:
- More functions whose return value should be checked have been tagged with
__attribute__ ((warn_unused_result))
:crypto_box_easy()
,crypto_box_detached()
,crypto_box_beforenm()
,crypto_box()
, andcrypto_scalarmult()
. - Sandy2x, the fastest Curve25519 implementation ever, has been merged in, and is automatically used on CPUs supporting the AVX instructions set.
- An SSE2 optimized implementation of Poly1305 was added, and is twice as fast as the portable one.
- An SSSE3 optimized implementation of ChaCha20 was added, and is twice as fast as the portable one.
- Faster
sodium_increment()
for common nonce sizes. - New helper functions have been added:
sodium_is_zero()
andsodium_add()
. sodium_runtime_has_aesni()
now properly detects the CPU flag when compiled using Visual Studio.
下载页面:1.0.7
libsodium 是一个先进而且易用的加密库。主要用于加密、解密、签名和生成密码哈希等等。这是一个可移植的、跨编译器支持、可安装的,基于 nacl” target=”_blank”>NaCI 开发,提供一个兼容 API。