libsodium 是一个先进而且易用的加密库。主要用于加密、解密、签名和生成密码哈希等等。这是一个可移植的、跨编译器支持、可安装的,基于 NaCI 开发,提供一个兼容 API。 libsodium 1.0.1 发布,此版本现已提供下载,更新内容如下: DLL_EXPORT was renamed SODIUM_DLL_EXPORT in order to avoid collisions with similar macros defined by other libraries. sodium_bin2hex() is now constant-time. crypto_secretbox_detached() now supports overlapping input and output regions. NaCl's donna_c64 implementation of curve25519 was reading an extra byte past the end of the buffer containing the base point. This has been fixed. libsodium 1.0.1 发布,加密库下载地址