Decision Workspace
redactedsecret vs secrecy vs zeroize
Side-by-side comparison of Rust crates
This is a fork of the official Secrecy crate [https://github.com/iqlusioninc/crates/] Wrapper types and traits for secret management which help ensure they aren't accidentally copied, logged, or otherwise exposed (as much as possible), and also ensure secrets are securely wiped from memory when dropped.
Wrapper types and traits for secret management which help ensure they aren't accidentally copied, logged, or otherwise exposed (as much as possible), and also ensure secrets are securely wiped from memory when dropped.
Securely clear secrets from memory with a simple trait built on stable Rust primitives which guarantee memory is zeroed using an operation will not be 'optimized away' by the compiler. Uses a portable pure Rust implementation that works everywhere, even WASM!
Core Metrics
| redactedsecret | secrecy | zeroize | |
|---|---|---|---|
| Health Score | 41 | 55 | 68 |
| Total Downloads | 3.2K | 96.0M | 394.3M |
| 30d Downloads | 4 | 8.1M | 34.9M |
| Dependents | 3 | 7.8K | 21.2K |
| Releases | 2 | 20 | 45 |
| Last Updated | 2339d ago | 534d ago | 179d ago |
| Age | 6y 5m | 7y 5m | 7y 5m |
Health Breakdown
Technical Details
| redactedsecret | secrecy | zeroize | |
|---|---|---|---|
| Version | 0.4.1 | 0.10.3 | 1.8.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 3 | 2 | 2 |
| Crate Size | 9KB | 11KB | 21KB |
| Features | 3 | 0 | 6 |
| Yanked % | 0.0% | 0.0% | 60.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.60 | 1.60 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •zeroize leads with a health score of 68/100, but none of the options score above 80.
- •zeroize is depended on by 21.2K crates — strongest ecosystem trust.
- •⚠ redactedsecret, secrecy have not been updated in over a year.
- •redactedsecret, secrecy are pre-1.0 — API may change.