secure_zero

Function secure_zero 

Source
pub fn secure_zero(data: &mut [u8])
Expand description

Secure memory zeroization using volatile writes

Prevents compiler from optimizing away the zero operation. Uses SIMD-friendly memory operations for better performance.

ยงArguments

  • data - Mutable slice to zeroize