1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 libsodium 1.0.6 发布,加密库 下载

本帖由 漂亮的石头2015-11-02 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,345
    赞:
    47
    libsodium 是一个先进而且易用的加密库。主要用于加密、解密、签名和生成密码哈希等等。这是一个可移植的、跨编译器支持、可安装的,基于 NaCI 开发,提供一个兼容 API。

    libsodium 1.0.6 发布,此版本更新内容如下:


    • Optimized implementations of Blake2 have been added for modern Intel platforms. crypto_generichash() is now faster than MD5 and SHA1 implementations while being far more secure.


    • Functions for which the return value should be checked have been tagged with __attribute__ ((warn_unused_result)). This will intentionally break code compiled with -Werror that didn't bother checking critical return values.


    • The crypto_sign_edwards25519sha512batch_*() functions have been tagged as deprecated.


    • Undocumented symbols that were exported, but were only useful for internal purposes have been removed or made private:sodium_runtime_get_cpu_features(), the implementation-specific crypto_onetimeauth_poly1305_donna() symbols, crypto_onetimeauth_poly1305_set_implementation(), crypto_onetimeauth_poly1305_implementation_name() and crypto_onetimeauth_pick_best_implementation().


    • sodium_compare() now works as documented, and compares numbers in little-endian format instead of behaving like memcmp().


    • The previous changes should not break actual applications, but to be safe, the library version major was incremented.


    • sodium_runtime_has_ssse3() and sodium_runtime_has_sse41() have been added.


    • The library can now be compiled with the CompCert compiler.

    下载:libsodium-1.0.6.tar.gz
    libsodium 1.0.6 发布,加密库下载地址
     
正在加载...