jedisct1/libsodium

A modern, portable, easy to use crypto library.

13,948

stars

4,656

commits

C

primary language

Sep 9, 2026

updated

libsodium.org
c
crypto
cryptography
zig-package
Browse cluster: Cryptographic libraries and protocols

README

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 maintainance 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.

Contributors

(top 30 of 128)

jedisct1

4,359 commits

evoskuil

54 commits

ektrah

14 commits

buu700

13 commits

jedisct1/libsodium

A modern, portable, easy to use crypto library.

13,948

stars

4,656

commits

C

primary language

Sep 9, 2026

updated

libsodium.org
c
crypto
cryptography
zig-package
Browse cluster: Cryptographic libraries and protocols

README

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 maintainance 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.

Contributors

(top 30 of 128)

jedisct1

4,359 commits

evoskuil

54 commits

ektrah

14 commits

buu700

13 commits

Languages

C

93.0%

Shell

1.8%

M4

1.5%

Zig

1.3%

Assembly

1.1%