Function zeroize::secure_zero_memory[][src]

pub fn secure_zero_memory(bytes: &mut [u8])

Zero out memory using explicit_bzero().

The explicit_bzero() is a non-standard function which performs the same task as bzero(), but differs in that it guarantees that compiler optimizations will not remove the erase operation if the compiler deduces that the operation is "unnecessary".