加密库 libsodium 1.0.16 发布,包含性能改进
这里有新鲜出炉的精品教程,程序狗速度看过来!
libsodium 是一个先进而且易用的加密库。主要用于加密、解密、签名和生成密码哈希等等。这是一个可移植的、跨编译器支持、可安装的,基于 NaCI 开发,提供一个兼容 API。
libsodium 1.0.16 已发布,更新如下:
-
Signatures computations and verifications are now way faster on 64-bit platforms with compilers supporting 128-bit arithmetic (gcc, clang, icc). This includes the webAssembly target.
-
New low-level APIs for computations over edwards25519:
- 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.
-
The library can be built with
- ED25519_NONDETERMINISTIC
defined in order to use synthetic nonces for EdDSA. This is disabled by default.
-
Webassembly: crypto_pwhash_*() functions are now included in non-sumo builds.
-
sodium_stackzero() was added to wipe content off the stack.
-
Android: support new SDKs where unified headers have become the default.
-
The Salsa20-based PRNG example is now thread-safe on platforms with support for thread-local storage, optionally mixes bits from RDRAND.
-
CMAKE: static library detection on Unix systems has been improved (thanks to @BurningEnlightenment , @nibua-r , @mellery451 )
-
Argon2 and scrypt are slightly faster on Linux.
详细更新内容请查看 更新日志 和 GitHub 发布主页 。
Libsodium 是一个先进而且易用的加密库。主要用于加密、解密、签名和生成密码哈希等等。这是一个可移植的、跨编译器支持、可安装的,基于 NaCI 开发,提供一个兼容 API 的加密库。
历史版本 :
加密库 libsodium 1.0.16 发布,包含性能改进
加密库 libsodium 1.0.15 发布,引入一些不兼容的变更
Libsodium 1.0.13 发布,易用的加密库
Libsodium 1.0.12 发布,易用的加密库
Libsodium 1.0.12 发布,易用的加密库
Libsodium 1.0.11 发布,加密库
libsodium 1.0.10 发布,加密库
libsodium 1.0.9 发布,加密库
libsodium 1.0.8 发布,加密库
libsodium 1.0.7 发布,加密库
libsodium 1.0.6 发布,加密库
libsodium 1.0.5 发布,加密库
来源: http://www.phperz.com/article/17/1216/361825.html