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, Android, as well as Javascript and Webassembly.
The documentation is available on Gitbook and built from the libsodium-doc repository:
- libsodium documentation - online, requires Javascript.
The integrity checking instructions (including the signing key for libsodium) are available in the installation section of the documentation.
A mailing-list is available to discuss libsodium.
In order to join, just send a random mail to sodium-subscribe
{at}
pureftpd
{dot} org
.
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
The Wire fork differs from upstream only in that it exposes several additional functions in the Emscripten build.
The additional functions are as follows:
crypto_hash_sha256
crypto_hash_sha256_bytes
crypto_auth_hmacsha256
crypto_auth_hmacsha256_verify
crypto_auth_hmacsha256_bytes
crypto_auth_hmacsha256_keybytes
crypto_auth_hmacsha512
crypto_auth_hmacsha512_verify
crypto_auth_hmacsha512_bytes
crypto_auth_hmacsha512_keybytes
crypto_stream_chacha20_xor
crypto_stream_chacha20_xor_ic
crypto_stream_chacha20_noncebytes
crypto_stream_chacha20_keybytes