Skip to main content

Module security

Module security 

Source
Expand description

Memory security utilities.

This module provides functions for securely erasing sensitive data from memory, ensuring that secrets are not left behind after use. It wraps the zeroize crate to guarantee that overwrites are not optimized away by the compiler.

Functionsยง

wipe_memory
Overwrites a byte buffer with zeros, preventing sensitive data from lingering in memory.