Crate secure_vault

Crate secure_vault 

Source
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§

SecureVault
Main secure vault for protecting sensitive data

Enums§

ProtectionLevel
Protection levels for secure data (for future use)

Functions§

init
Initialize the secure vault system
secure_cleanup
Secure cleanup of all vaults