C\C++加密庫,libsodium 1.0.3 發布

yn6e 9年前發布 | 7K 次閱讀 libsodium

libsodium 是一個先進而且易用的加密庫。主要用于加密、解密、簽名和生成密碼哈希等等。這是一個可移植的、跨編譯器支持、可安裝的,基于 NaCI 開發,提供一個兼容 API。

libsodium 1.0.3 發布,此版本更新內容如下:

  • In addition to sodium_bin2hex(), sodium_hex2bin() is now a constant-time function.

  • crypto_stream_xsalsa20_ic() has been added.

  • crypto_generichash_statebytes(), crypto_auth_*_statebytes() and crypto_hash_*_statebytes() have been added in order to retrieve the size of structures keeping states from foreign languages.

  • The JavaScript target doesn't require /dev/urandom or an external randombytes() implementation any more. Other minor Emscripten-related improvements have been made in order to support libsodium.js

  • Custom randombytes implementations do not need to provide their own implementation of randombytes_uniform() any more. randombytes_stir() and randombytes_close() can also be NULL pointers if they are not required.

  • On Linux, getrandom(2) is being used instead of directly accessing /dev/urandom, if the kernel supports this system call.

  • crypto_box_seal() and crypto_box_seal_open() have been added.

  • A solutions for Visual Studio 2015 was added.

此版本現已提供下載:libsodium-1.0.3.tar.gz

 本文由用戶 yn6e 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!