scrub_mem

Function scrub_mem 

Source
pub fn scrub_mem<T: Copy>(a: &mut [T])
Expand description

Securely zeroize memory

Write zeros to the array (eg to clear out a key) in a way that is unlikely to be removed by the compiler.