Function secstr::zero_out_secure_box
source · pub unsafe fn zero_out_secure_box<T>(secure_box: &mut SecureBox<T>)where
T: Sized + Copy,Expand description
Overwrite the contents with zeros. This is automatically done in the destructor.
Safety
An all-zero byte-pattern must be a valid value of T in order for this function call to not be
undefined behavior.