zeroize

Function zeroize 

Source
fn zeroize(bytes: &mut SecureBytes)
Expand description

Helper function for zeroizing secure bytes

Immediately zeros out secure bytes in memory. This function forces zeroization to happen now rather than waiting for the Drop implementation. Note: Rust compiler optimizations may optimize away the zeroization without proper precautions like volatile operations or zeroize crate.