A modern, portable, easy to use crypto library
C Objective-C Assembly C++ M4 Shell Other
Clone or download
jedisct1 Merge pull request #728 from antmak/fix_fallthrou_warnings
Fix warnings in GCC7 related to -Wimplicit-fallthrough
Latest commit 875fbd0 Jul 4, 2018
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 fix for emscripten breaking change (kripken/emscripten#6419) Jun 20, 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 Fix warnings that appeared in GCC7+ (related to -Wimplicit-fallthrough) Jul 4, 2018
test zap trailing spaces Apr 29, 2018
.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 README: link to libsodium-doc repository Feb 7, 2018
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 Clarify what --disable-asm does Jul 3, 2018
lgtm.yml + lgtm.yml Mar 27, 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 and built from the libsodium-doc repository:

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.