libsodium
A modern, portable, easy to use crypto library. observed · 2026-10-18
Health v2 · maintenance only
81/100
- Activity 100
- Release rhythm 47
- Longevity 100
Flags: no_license no_readme
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 93
- age_days: 5022
- days_rel: 194
- days_push: 5
- n_releases_24m: 2
Adoption not part of the score
13997 stars · 1883 forks observed · 2026-10-18
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-10-18 · ba2df7366fd8
- homepage: https://libsodium.org · fetched 2026-08-29 · 74aa87b359c2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jedisct1/libsodium | main | 81 |
| jedisct1/libsodium.js | sdk | 88 |
| jedisct1/libsodium-php | sdk | 32 |
| jedisct1/swift-sodium | sdk | 70 |
| jedisct1/wasm-crypto | sdk | 64 |
| jedisct1/libsodium-doc | docs | 75 |
For agents
markdown · JSON · MCP: product_card(name="jedisct1/libsodium")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem