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

栏目: 软件资讯 · 发布时间: 6年前

内容简介: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 bac...

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 returnEINVAL` 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 发布主页


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

网络素养

网络素养

[美]霍华德·莱茵戈德 / 张子凌、老卡 / 译言·东西文库/电子工业出版社 / 2013-8-1 / 49.80元

有人说Google让我们变得更笨,有人说Facebook出卖了我们的隐私,有人说Twitter将我们的注意力碎片化。在你担忧这些社会化媒体让我们变得“浅薄”的时候,有没问过自己,是否真正地掌握了使用社会化媒体的方式? 这本书将介绍五种正在改变我 们这个世界的素养:注意力、 对垃圾信息的识别能力、参与力、协作力和联网智慧。当有足够多的人学会并且能够熟练的使用这些技术,成为真正的数字公民后。健康......一起来看看 《网络素养》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具