Function zeroize::secure_zero_memory [−][src]
pub fn secure_zero_memory(bytes: &mut [u8])
Zero out memory using memset_s()
.
Unlike memset()
, any call to the memset_s()
function shall be
evaluated strictly, i.e. callers of memset_s()
can safely assume that
it has been executed and not "optimized away" by the compiler.