cyberstars
cyberstars / tools / memguard-rs

memguard-rs

Secure in-memory handling of secrets for Rust

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.