# libsodium

> Easy-to-use, portable cryptography library

Source: https://talira.ai/catalog/libsodium-t412frcr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [security / encryption](https://talira.ai/categories/security/encryption)
- Platforms: windows, ios, android, web[^2]
- Licence: ISC[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Frank Denis](https://talira.ai/orgs/jedisct1.md)
- Creator: Frank Denis

libsodium (Sodium) is an easy-to-use C library for cryptography: authenticated encryption, public-key encryption and key exchange, digital signatures, hashing, secure password hashing and key derivation, with safe defaults so developers don't have to choose algorithms. It's a portable, cross-compilable and packageable fork of NaCl that keeps its API and extends it. It's portable and cross-compilable, with support for Windows (MinGW and Visual Studio, x86, x64 and arm64), iOS, Android, JavaScript and WebAssembly, and bindings exist for most languages.

## Links

- Website: https://libsodium.org/
- GitHub: https://github.com/jedisct1/libsodium
- Docs: https://doc.libsodium.org/

## Problems it solves

- encrypt data in my app without choosing cryptographic algorithms myself
- hash user passwords securely with Argon2
- sign and verify messages with public-key signatures
- a portable crypto library that works on iOS, Android and WebAssembly
- public-key encryption between two parties in C

## Features

- authenticated and public-key encryption
- key exchange
- digital signatures
- secure password hashing
- generic hashing and key derivation
- API compatible with NaCl
- Windows, iOS, Android, JavaScript and WebAssembly support

## Trust

Overall: 0.35 out of 1.
Signals: backing 0.50, extensibility 0.00.

- backed by Frank Denis
- created by Frank Denis

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Tink](https://talira.ai/catalog/tink-z05yxn2s.md): Google's cryptography library with APIs that are hard to misuse
- [OpenSSL](https://talira.ai/catalog/openssl-fxkppzee.md): General purpose TLS and crypto library
- [Google Cloud KMS](https://talira.ai/catalog/google-cloud-kms-et5jte1a.md): Create and manage cryptographic keys, including hardware-backed Cloud HSM keys, in Google Cloud
- [Cryptomator](https://talira.ai/catalog/cryptomator-0qfb7rh5.md): Client-side encryption for your cloud storage

## Sources

[^1]: https://github.com/jedisct1/libsodium/blob/master/LICENSE (checked 23 Nov 2026)
[^2]: https://github.com/jedisct1/libsodium (checked 23 Nov 2026)
