加密庫,libsodium 1.0.6 發布
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.
</li> -
Functions for which the return value should be checked have been tagged with
</li>__attribute__ ((warn_unused_result))
. This will intentionally break code compiled with-Werror
that didn't bother checking critical return values. -
The
</li>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:
</li>sodium_runtime_get_cpu_features()
, the implementation-specificcrypto_onetimeauth_poly1305_donna()
symbols,crypto_onetimeauth_poly1305_set_implementation()
,crypto_onetimeauth_poly1305_implementation_name()
andcrypto_onetimeauth_pick_best_implementation()
. -
</li>sodium_compare()
now works as documented, and compares numbers in little-endian format instead of behaving likememcmp()
. -
The previous changes should not break actual applications, but to be safe, the library version major was incremented.
</li> -
</li>sodium_runtime_has_ssse3()
andsodium_runtime_has_sse41()
have been added. -
The library can now be compiled with the CompCert compiler.
</li> </ul> 下載:libsodium-1.0.6.tar.gz本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!