A modern, portable, easy to use crypto library
C Objective-C Assembly C++ M4 Shell Other
Failed to load latest commit information.
builds Remove extra spaces Dec 9, 2017
contrib [CMAKE] Fix static library detection on unix (#642) Dec 5, 2017
dist-build emscripten: do not use closure Jan 15, 2018
m4 Make the salsa20 random stream thread local Nov 25, 2017
msvc-scripts Version bump [not released yet] Dec 5, 2017
packaging Version bump [not released yet] Dec 5, 2017
regen-msvc Remove trailing space Dec 11, 2017
src Include <stdint.h> for SIZE_MAX, and <stddef.h> as a dependency Jan 19, 2018
test C++ compat Dec 21, 2017
.gitignore Remove *.s from .gitignore Nov 19, 2017
.travis.yml Do not trigger Travis+Coverity in the master branch Sep 19, 2017
AUTHORS crypto_core/curve25519 was renamed crypto_core/ed25519 Nov 15, 2017
ChangeLog Update ChangeLog Dec 11, 2017
LICENSE 2018 Dec 31, 2017
Makefile.am Add all the Visual Studio files in the tarball Jul 24, 2017
README.markdown Add js & wasm to the list Oct 18, 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 (#542) May 19, 2017
configure.ac Revert "Check for -mretpoline / -zretpolineplt support" Jan 17, 2018
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 solutions Nov 25, 2017
libsodium.vcxproj.filters Regen MSVC solutions Nov 25, 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, Android, as well as Javascript and Webassembly.


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.