bdk_chain::bitcoin::secp256k1::ffi

Function non_secure_erase_impl

pub fn non_secure_erase_impl<T>(dst: &mut T, src: T)
Expand description

Does a best attempt at secure erasure using Rust intrinsics.

The implementation is based on the approach used by the zeroize crate.