Function botan::scrub_mem[][src]

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

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.