back to home

jedisct1 / libsodium

A modern, portable, easy to use crypto library.

13,472 stars
1,854 forks
1 issues
CShellM4

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing jedisct1/libsodium in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/jedisct1/libsodium)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

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:

<a href="https://github.com/jedisct1/libsodium/graphs/contributors"> <img src="https://opencollective.com/libsodium/contributors.svg?width=890&button=false" alt="Contributors"> </a>

Financial Contributors

Your financial support helps us sustain and further develop libsodium.

Individuals

<a href="https://opencollective.com/libsodium"> <img src="https://opencollective.com/libsodium/individuals.svg?width=890" alt="Individual Contributors"> </a>

Organizations

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

<a href="https://opencollective.com/libsodium/organization/0/website"> <img src="https://opencollective.com/libsodium/organization/0/avatar.svg" alt="Organization Contributor"> </a>

License

This project is distributed under the ISC license.