No description
  • C 93.1%
  • Shell 1.7%
  • M4 1.5%
  • Zig 1.4%
  • Assembly 1.1%
  • Other 1.2%
Find a file
Frank Denis 43c773a23b
Some checks failed
CI / version-consistency (push) Has been cancelled
CI / tcc (push) Has been cancelled
CI / zig (push) Has been cancelled
CI / regular (push) Has been cancelled
CI / check-globals (push) Has been cancelled
CI / other-comp (push) Has been cancelled
CI / other-arch (push) Has been cancelled
CI / aarch64-gcc (push) Has been cancelled
CI / aarch64-gcc-crypto (push) Has been cancelled
CI / aarch64-gcc-sha3 (push) Has been cancelled
CI / android (push) Has been cancelled
CodeQL scan / Analyze (push) Has been cancelled
Make precedence explicit
2026-10-28 11:10:58 +01:00
.enc Add maintainer files 2026-10-13 19:55:09 +02:00
.github Fix macOS NuGet libraries for .NET single-file publishing 2026-10-13 19:16:44 +02:00
builds Add a NEON implementation of Poly1305 2026-10-27 20:49:16 +01:00
ci/appveyor Add a NEON implementation of Poly1305 2026-10-27 20:49:16 +01:00
dist-build Remove deterministic ML-DSA signatures 2026-10-15 20:12:42 +02:00
m4 Use AC_COMPILE_IFELSE → AC_LINK_IFELSE in ax_tls.m4 2026-04-05 21:26:11 +02:00
packaging/dotnet-core test-single-file.sh: don't ignore find errors 2026-10-13 19:23:00 +02:00
regen-msvc Add support for MSVC 2026 2025-11-18 12:10:59 +01:00
src Add a NEON implementation of Poly1305 2026-10-27 20:49:16 +01:00
test Make precedence explicit 2026-10-28 11:10:58 +01:00
.gitignore Update .gitiginore 2026-10-15 19:24:48 +02:00
AI-POLICY.md Add AI-POLICY.md 2026-08-26 21:38:15 +02:00
appveyor.yml Bump dev 2026-01-07 23:28:39 +01:00
AUTHORS Replace the aegis256 implementation with the libaegis implementation 2023-09-09 20:20:54 +02:00
autogen.sh Remove build-aux if required 2026-01-05 23:51:42 +01:00
azure-pipelines.yml Azure Pipelines: avoid MSYS2 mirrors that currently answer 429 2026-10-13 19:23:39 +02:00
build.zig std.ArrayListUnmanaged is gone 2026-10-27 10:42:06 +01:00
ChangeLog Update ChangeLog 2026-10-13 19:54:13 +02:00
CITATION.cff Add CITATION.cff 2023-04-14 23:25:06 +02:00
configure.ac x86: check if we can use an xgetbv inline asm implementation 2026-08-31 08:00:08 +02:00
lgtm.yml Use autogen.sh -s in lgtm 2020-06-18 19:36:31 +02:00
libsodium-uninstalled.pc.in Add -pthread to pkgconfig's Libs.private if enabled 2019-01-14 23:43:02 +01:00
libsodium.pc.in Add -pthread to pkgconfig's Libs.private if enabled 2019-01-14 23:43:02 +01:00
LICENSE 2026 2025-12-29 15:54:49 +01:00
logo.png Make the text logo slightly more readable in dark mode 2020-12-08 23:16:26 +01:00
Makefile.am Add forgotten distribution files 2024-05-25 14:15:07 +02:00
README.markdown Typo 2026-10-27 15:41:47 +01:00
THANKS Brad Barden (@IAMB) wrote bindings for Perl 2026-01-07 12:36:35 +01:00

GitHub CI Coverity Scan Build Status Azure build status CodeQL scan

libsodium

Sodium is an easy-to-use software library that provides a wide range of cryptographic operations including encryption, decryption, digital signatures, and secure password hashing.

It is a portable, cross-compilable, installable, and packageable fork of NaCl. While maintaining API compatibility, libsodium extends functionality to improve usability and simplify the development of secure applications.


Key Features

  • Encryption & Decryption: Securely encrypt and decrypt data with modern algorithms.
  • Digital Signatures: Create and verify signatures to ensure data authenticity.
  • Cross-Platform Compatibility: Supported on Windows (MinGW and Visual Studio, x86, x64 and arm64), iOS, Android, JavaScript, and WebAssembly.
  • User-Friendly API: Designed to provide all core cryptographic operations while remaining easy to integrate into your projects.

Documentation


Versioning

libsodium uses a two-tier release system:

  • Point releases (e.g., 1.0.19, 1.0.20, 1.0.21) are tagged when new features are added or significant changes are made.
  • Stable releases are frequent maintenance updates between point releases. They fix minor issues while remaining fully compatible with their parent point release. No new features, no breaking changes.

If your application depends on a specific point release, stable updates are safe to apply. Security fixes go to the stable branch immediately, with a new point release tagged shortly after.


Contributors

Code Contributors

This project thrives thanks to the valuable contributions from our community. View all the contributors:

Contributors

Financial Contributors

Your financial support helps us sustain and further develop libsodium.

Individuals

Individual Contributors

Organizations

Support libsodium with your organization and gain visibility through your logo and website link.

Organization Contributor

License

This project is distributed under the ISC license.