A modern and easy-to-use crypto library.
Clone or download
Pull request Compare This branch is 375 commits behind jedisct1:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
builds Bump library version Oct 1, 2017
contrib [Findsodium.cmake] DON'T OVERWRITE LIBRARY SUFFIXES (jedisct1#576) Aug 2, 2017
dist-build Bump major for generate-emscripten-symbols.sh 18 -> 23 Oct 1, 2017
m4 Check if SIGABRT can be trapped multiple times in a row Sep 19, 2017
msvc-scripts Bump library version Oct 1, 2017
packaging Update dotnet example version Oct 1, 2017
src crypto_pwhash_ALG_DEFAULT is now Argon2id Oct 1, 2017
test crypto_pwhash_ALG_DEFAULT is now Argon2id Oct 1, 2017
.gitignore Rename the test/pwhash.c -> test/pwhash_argon2i.c Oct 1, 2017
.travis.yml Do not trigger Travis+Coverity in the master branch Sep 19, 2017
AUTHORS Remove aes128ctr, add secretstream Sep 27, 2017
ChangeLog ChangeLog Oct 1, 2017
LICENSE 2017 Dec 31, 2016
Makefile.am Add all the Visual Studio files in the tarball Jul 24, 2017
README.markdown Revert "Add Irina's sketch for the release day" Sep 24, 2017
THANKS + Jonathan Stowe for Natrium (Perl 6 bindings) Sep 5, 2017
appveyor.yml Revert "Use os: Visual Studio 2017 in appveyor.yml" Mar 13, 2017
autogen.sh Replace `which` with `command` for portability (jedisct1#542) May 19, 2017
configure.ac Undefine FORTIFY_SOURCE in debug mode Oct 1, 2017
libsodium-uninstalled.pc.in Update description Mar 17, 2016
libsodium.pc.in Update description Mar 17, 2016
libsodium.sln Retarget the top solution to Visual Studio 2015 Nov 1, 2015
libsodium.vcxproj Regen MSVC files Sep 27, 2017
libsodium.vcxproj.filters Regen MSVC files Sep 27, 2017
logo.png Larger logo, less prominent saltcellar Apr 19, 2016


Build Status Windows build status Coverity Scan Build Status


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.


The documentation is available on Gitbook:

Integrity Checking

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.


ISC license.