Skip to main content

erase_bytes

Function erase_bytes 

Source
pub fn erase_bytes(slice: &mut [u8])
Expand description

To ensure keys and other valuable bits of info don’t linger in memory, this function is called when possible to zero out the memory referred to in slice.