libsodium

A modern, portable, easy to use crypto library.

12600
1763
C

GitHub CI
Windows build status
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, both x86 and x64), iOS, Android, JavaScript, and WebAssembly.
  • User-Friendly API: Designed to provide all core cryptographic operations while remaining easy to integrate into your projects.

Documentation

Detailed documentation is available online. It is generated from the libsodium-doc repository and requires JavaScript for full functionality:


Integrity Checking

For security and authenticity, please review the integrity checking instructions. These include the signing keys and methods to verify your installation:


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.