libsodium VS libhydrogen

Compare libsodium vs libhydrogen and see what are their differences.

libsodium

A modern, portable, easy to use crypto library. (by jedisct1)

libhydrogen

A lightweight, secure, easy-to-use crypto library suitable for constrained environments. (by jedisct1)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
libsodium libhydrogen
30 5
11,852 573
- -
8.7 7.3
25 days ago 25 days ago
C C
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

libsodium

Posts with mentions or reviews of libsodium. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-14.

libhydrogen

Posts with mentions or reviews of libhydrogen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-22.

What are some alternatives?

When comparing libsodium and libhydrogen you can also consider the following projects:

OpenSSL - TLS/SSL and crypto library

Crypto++ - free C++ class library of cryptographic schemes

mbedTLS - An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.

Botan - Cryptography Toolkit

Bcrypt - Modern(-ish) password hashing for your software and your servers

LibTomCrypt - LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.

LibreSSL - LibreSSL Portable itself. This includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code. Pull requests or patches sent to [email protected] are welcome.

Tiny AES128 in C - Small portable AES128/192/256 in C

BLAKE3 - the official Rust and C implementations of the BLAKE3 cryptographic hash function

Tink - Tink is a multi-language, cross-platform, open source library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.

GnuPG - Mirror of git://git.gnupg.org/gnupg.git — master branch contains no changes from upstream.

Themis - Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.