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 | 54 | 66 |
| Total Downloads | 3.2K | 113.0M | 476.9M |
| 30d Downloads | 0 | 9.0M | 47.0M |
| Dependents | 3 | 9.9K | 26.7K |
| Releases | 2 | 20 | 45 |
| Last Updated | 2398d ago | 593d ago | 238d ago |
| Age | 6y 7m | 7y 7m | 7y 7m |
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 66/100, but none of the options score above 80.
- •zeroize is depended on by 26.7K crates — strongest ecosystem trust.
- •⚠ redactedsecret, secrecy have not been updated in over a year.
- •redactedsecret, secrecy are pre-1.0 — API may change.