加密库 libsodium 1.0.17 发布,Bug 修复版本

栏目: 后端 · 前端 · 发布时间: 7年前

内容简介:libsodium 1.0.17 已发布,更新如下:详细更新内容请查看

libsodium 1.0.17 已发布,更新如下:

  • Bug fix: sodium_pad() didn't properly support block sizes >= 256 bytes.

  • JS/WebAssembly: some old iOS versions can't instantiate the WebAssembly module; fall back to Javascript on these.

  • JS/WebAssembly: compatibility with newer Emscripten versions.

  • Bug fix: crypto_pwhash_scryptsalsa208sha256_str_verify() and crypto_pwhash_scryptsalsa208sha256_str_needs_rehash() didn't return EINVAL` on input strings with a short length, unlike their high-level counterpart.

  • Added a workaround for Visual Studio 2010 bug causing CPU features not to be detected.

  • Portability improvements.

  • Test vectors from Project Wycheproof have been added.

  • New low-level APIs for arithmetic mod the order of the prime order group:

    crypto_core_ed25519_scalar_random()crypto_core_ed25519_scalar_reduce() ,

    crypto_core_ed25519_scalar_invert()crypto_core_ed25519_scalar_negate() ,

    crypto_core_ed25519_scalar_complement()crypto_core_ed25519_scalar_add() and  crypto_core_ed25519_scalar_sub() .

  • New low-level APIs for scalar multiplication without clamping: crypto_scalarmult_ed25519_base_noclamp() and  crypto_scalarmult_ed25519_noclamp() . These new APIs are especially useful for blinding.

  • sodium_sub() has been implemented.

  • Support for WatchOS has been added.

  • getrandom(2) is now used on FreeBSD 12+.

  • The nonnull attribute has been added to all relevant prototypes.

  • More reliable AVX512 detection.

  • Javascript/Webassembly builds now use dynamic memory growth.

详细更新内容请查看 更新日志 和  GitHub 发布主页


以上所述就是小编给大家介绍的《加密库 libsodium 1.0.17 发布,Bug 修复版本》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

比特币

比特币

李钧、长铗 / 中信出版社 / 2014-1-1 / 39.00元

2009年,比特币诞生。比特币是一种通过密码编码,在复杂算法的大量计算下产生的电子货币。虽然是虚拟货币,比特币却引起了前所未有的全球关注热潮。 这一串凝结着加密算法与运算能力的数字不仅可以安全流通、换取实物,1比特币价值甚至曾高达8 000元人民币。有研究者认为比特币具备打破几千年来全球货币由国家垄断发行的可能性。在不经意间,比特币引起的金融新浪潮已悄然成型。 虚拟货币并不是新鲜事物,......一起来看看 《比特币》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

SHA 加密
SHA 加密

SHA 加密工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换