红联Linux门户
Linux帮助

libsodium 1.0.7发布,加密库

发布时间:2015-12-09 09:18:56来源:红联作者:empast
libsodium 1.0.7 发布,更新内容如下:

More functions whose return value should be checked have been tagged with __attribute__ ((warn_unused_result)): crypto_box_easy(), crypto_box_detached(), crypto_box_beforenm(), crypto_box(), and crypto_scalarmult().

Sandy2x, the fastest Curve25519 implementation ever, has been merged in, and is automatically used on CPUs supporting the AVX instructions set.

An SSE2 optimized implementation of Poly1305 was added, and is twice as fast as the portable one.

An SSSE3 optimized implementation of ChaCha20 was added, and is twice as fast as the portable one.

Faster sodium_increment() for common nonce sizes.

New helper functions have been added: sodium_is_zero() and sodium_add().

sodium_runtime_has_aesni() now properly detects the CPU flag when compiled using Visual Studio.

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

下载地址:https://github.com/jedisct1/libsodium/tree/1.0.7

来自:开源中国社区
文章评论

共有 0 条评论