[go: up one dir, main page]

Function botan::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.