Expand description
§Secure Vault
A secure memory vault that protects sensitive data from memory dumps, swap disk attacks, and forensic analysis.
§Quick Start
use secure_vault::{protect, SecureVault};
protect! {
let secret_token = "my_secret_data";
}
secret_token.with_secure(|data| {
println!("Secure data: {}", data);
});Macros§
- protect
- Macro to create protected variables easily
Structs§
- Secure
Vault - Main secure vault for protecting sensitive data
Enums§
- Protection
Level - Protection levels for secure data (for future use)
Functions§
- init
- Initialize the secure vault system
- secure_
cleanup - Secure cleanup of all vaults