crates.io
zeroize
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!
Security
No known vulnerabilities in the OSV database as of the last sync.
Repository
https://github.com/RustCrypto/utils ↗Sourced from crates.io · Updated September 6, 2026
Package metadata from crates.io, the Rust community's crate registry.
View original source ↗Spot an error on this page? Let us know →FAQ
Common questions
What is zeroize?
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!
Is zeroize safe to use?
No known vulnerabilities in the OSV database as of the last sync.
What license does zeroize use?
zeroize does not specify a license.