libsodium 1.0.2 發布,加密庫

jopen 9年前發布 | 9K 次閱讀 libsodium

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

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

  • The_easyand_detachedAPIs now support precalculated keys;crypto_box_easy_afternm(),crypto_box_open_easy_afternm(),crypto_box_detached_afternm()andcrypto_box_open_detached_afternm()have been added as an alternative to the NaCl interface.

  • Memory allocation functions can now be used on operating systems with no memory protection.

  • crypto_sign_open()andcrypto_sign_edwards25519sha512batch_open()now accept aNULLpointer instead of a pointer to the message size, if storing this information is not required.

  • The close-on-exec flag is now set on the descriptor returned when opening/dev/urandom.

  • Alibsodium-uninstalled.pcfile to usepkg-configeven when libsodium is not installed, has been added.

  • The iOS target now includes armv7s and arm64 optimized code, as well as i386 and x86_64 code for the iOS simulator.

  • sodium_free()can now be called on regions withPROT_NONEprotection.

  • The Javascript tests can run on Ubuntu, where thenodebinary was renamednodejs. io.js can also be used instead of node.

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

來自:http://www.oschina.net/news/58798/libsodium-1-0-2

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