Function secure_zero

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

Securely zero a slice of memory

This function ensures that the contents of the slice are securely zeroed, even if the compiler would otherwise optimize the operation away.