libsodium
A modern, portable, easy to use crypto library. observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 54
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 93
- age_days: 4974
- days_rel: 146
- days_push: 7
- n_releases_24m: 2
Adoption not part of the score
13916 stars · 1886 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
libsodium is a modern, portable, easy-to-use C library for cryptographic operations, forked from NaCl with a compatible but extended API. It provides encryption, decryption, digital signatures, password hashing, key exchange, and more, with bindings for many languages and a JavaScript/WebAssembly version.
Use cases
- encrypt and decrypt data in an application
- sign and verify messages with digital signatures
- hash passwords securely
- derive keys and perform key exchange
- generate cryptographically secure random data
- build higher-level cryptographic tools on a vetted primitive set
When to choose
- you need a well-audited, high-level crypto library with a misuse-resistant API
- you need cross-platform support including mobile and WebAssembly
- you want fast implementations of modern primitives like XChaCha20 and Ed25519
When to avoid
- you need low-level control over specific primitives or custom constructions
- you require FIPS-validated cryptography
- you need a pure high-level language implementation without C dependencies
Facets
library · maturity stable
cryptography security auth security developer-tools privacy cross-platform windows wasm c nacl encryption signatures password-hashing key-exchange crypto-library linux macos ios android
2 sources
- readme: https://github.com/jedisct1/libsodium · fetched 2026-08-28 · ba2df7366fd8
- homepage: https://libsodium.org · fetched 2026-08-29 · 74aa87b359c2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jedisct1/libsodium | main | 83 |
| jedisct1/libsodium.js | sdk | 89 |
For agents
markdown · JSON · MCP: product_card(name="jedisct1/libsodium")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem