Libsodium – A Modern, Portable, Easy To Use Crypto Library

Sodium is a modern, 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 is cross-platforms and cross-languages. It runs on a variety of compilers and operating systems, including Windows (with MinGW or Visual Studio, x86 and x86_64), iOS and Android. Javascript and WebAssembly versions are also available and are fully supported. Bindings for all common programming languages are available and well-supported.The design choices emphasize security and ease of use. But despite the emphasis on high security, primitives are faster across-the-board than most implementations.DocumentationThe documentation is available on Gitbook and built from the libsodium-doc repository:libsodium documentation – online, requires Javascript.offline documentation in PDF, MOBI and ePUB formats.Integrity CheckingThe integrity checking instructions (including the signing key for libsodium) are available in the installation section of the documentation.Download Libsodium