cyberstars / tools / memguard-rs
memguard-rs
—Secure in-memory handling of secrets for Rust
View on GitHub
RustMIT
Rust crate providing defensive primitives for sensitive data in memory: zeroization on drop via volatile writes, mlock/VirtualLock-backed regions to keep secrets out of swap, constant-time comparison, and const-generic guarded regions. no_std compatible with zero external dependencies.