Function secure_zero_slice
Source pub fn secure_zero_slice(data: &mut [u8])
Expand description
Secure zeroization of a slice
Securely zeros a slice of memory to prevent sensitive data from remaining
in memory after use.
§Arguments
§Security
This function uses compiler barriers to ensure the zeroing operation
is not optimized away by the compiler.