3 ms·
Zeroing memory is trickier than that, if you want to do it in Rust you should use https://crates.io/crates/zeroize https://crates.io/crates/zeroize
by steveklabnik 11mo ago
Zeroing memory is trickier than that, if you want to do it in Rust you should use https://crates.io/crates/zeroize https://crates.io/crates/zeroize
- IshKebab 11mo agoHe was pretty close tbf - you just need to use `write_volatile` instead of `write_bytes`.