发布于 2015-10-19 00:02:21 | 264 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

libsodium 加密库

libsodium 是一个先进而且易用的加密库。主要用于加密、解密、签名和生成密码哈希等等。这是一个可移植的、跨编译器支持、可安装的,基于 NaCI 开发,提供一个兼容 API。


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

  • Support for AES256-GCM has been added. This requires a CPU with the aesni and pclmul extensions, and is accessible via the crypto_aead_aes256gcm_*() functions.

  • The Javascript target doesn't use eval() any more, so that the library can be used in Chrome packaged applications.

  • QNX and CloudABI are now supported.

  • Support for NaCl has finally been added.

  • ChaCha20 with an extended (96 bit) nonce and a 32-bit counter has been implemented as crypto_stream_chacha20_ietf(), crypto_stream_chacha20_ietf_xor() and crypto_stream_chacha20_ietf_xor_ic(). An IETF-compatible version of ChaCha20Poly1305 is available as crypto_aead_chacha20poly1305_ietf_npubbytes(), crypto_aead_chacha20poly1305_ietf_encrypt() and crypto_aead_chacha20poly1305_ietf_decrypt().

  • The sodium_increment() helper function has been added, to increment an arbitrary large number (such as a nonce).

  • The sodium_compare() helper function has been added, to compare arbitrary large numbers (such as nonces, in order to prevent replay attacks).

下载:libsodium-1.0.4.tar.gz

libsodium 是一个先进而且易用的加密库。主要用于加密、解密、签名和生成密码哈希等等。这是一个可移植的、跨编译器支持、可安装的,基于 NaCI 开发,提供一个兼容 API。



历史版本 :
加密库 libsodium 1.0.16 发布,包含性能改进
加密库 libsodium 1.0.15 发布,引入一些不兼容的变更
Libsodium 1.0.13 发布,易用的加密库
Libsodium 1.0.12 发布,易用的加密库
Libsodium 1.0.12 发布,易用的加密库
Libsodium 1.0.11 发布,加密库
libsodium 1.0.10 发布,加密库
libsodium 1.0.9 发布,加密库
libsodium 1.0.8 发布,加密库
libsodium 1.0.7 发布,加密库
libsodium 1.0.6 发布,加密库
libsodium 1.0.5 发布,加密库
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务