Module zeroizing

Module zeroizing 

Source
Expand description

Zeroizing wrappers for sensitive cryptographic material.

This module provides wrappers that automatically zero out memory when dropped, preventing sensitive data from lingering in memory.

Structs§

SecureBuffer
A buffer that zeros itself on drop.

Functions§

secure_move
Securely copy and then zero the source.
secure_zero
Securely zero a byte slice.
zeroizing_key_32
Create a zeroizing 32-byte key.
zeroizing_nonce
Create a zeroizing 12-byte nonce.

Type Aliases§

ZeroizingKey
A zeroizing wrapper for secret keys.