目录
libsodium 简介
The sodium crypto library (libsodium) sodium is a new,easy-to-use software library for encryption,decryption,signatures,password hashing and more. It is a portable,cross-compilable,installable,packageable fork of NaCl,with a compatible API,and an extended API to improve usability even further. Its goal is to provide all of the core operations needed to build higher-level cryptographic tools. sodium supports a variety of compilers and operating systems,including Windows (with MingW or Visual Studio,x86 and x64),iOS and Android.
sodium 加密库
sodium 是一个全新而且易用的加密库,用于加密、解密、签名和生成密码哈希等等。 它是一个可移植的、跨编译器支持、可安装的,基于 NaCI 开发,提供了一个兼容 API 和一个提高更高可用性的扩展 API。 它的目标是提供构建一个更高级的加密工具所需要的所有核心操作。 sodium 支持各种各样的编译器和操作系统,包括 Windows( 如 MingW 或者 Visual Studio,x86 和 x64),iOS 和 Android。
libsodium 安装
wget -N --no-check-certificate https://download.libsodium.org/libsodium/releases/libsodium-1.0.11.tar.gz
tar xvf libsodium-1.0.11.tar.gz
cd libsodium-1.0.11
./configure
make && make check
make install