Decision Workspace
libsodium-rs vs nacrypt vs libhydrogen-sys
Side-by-side comparison of Rust crates
64
libsodium-rs
growingv0.2.5
Rust bindings to libsodium for authenticated encryption, signatures, password hashing, key exchange, and streaming encryption
40
nacrypt
growingv1.2.7
A secure and easy-to-use file encryption utility
51
libhydrogen-sys
growingv0.9.5
Low-level FFI bindings to libhydrogen for encryption, signatures, hashing, key exchange, and random number generation
Core Metrics
| libsodium-rs | nacrypt | libhydrogen-sys | |
|---|---|---|---|
| Health Score | 64 | 40 | 51 |
| Total Downloads | 173.0K | 26 | 43.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 61 | 0 | 13 |
| Releases | 8 | 1 | 21 |
| Last Updated | 15d ago | 210d ago | 15d ago |
| Age | 1y 6m | 7m | 8y 9m |
Health Breakdown
libsodium-rs
Maintenance
18
Quality
14
Community
11
Popularity
6
Documentation
15
nacrypt
Maintenance
5
Quality
17
Community
6
Popularity
2
Documentation
10
libhydrogen-sys
Maintenance
15
Quality
15
Community
6
Popularity
6
Documentation
9
Technical Details
| libsodium-rs | nacrypt | libhydrogen-sys | |
|---|---|---|---|
| Version | 0.2.5 | 1.2.7 | 0.9.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 | ISC |
| Dependencies | 8 | 5 | 2 |
| Crate Size | 178KB | 21KB | 49KB |
| Features | 4 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2018 |
| MSRV | 1.88.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •libsodium-rs leads with a health score of 64/100, but none of the options score above 80.
- •libsodium-rs, libhydrogen-sys are pre-1.0 — API may change.