Remix.run Logo
steveklabnik 10 hours ago

Zeroing memory is trickier than that, if you want to do it in Rust you should use https://crates.io/crates/zeroize

IshKebab 5 hours ago | parent [-]

He was pretty close tbf - you just need to use `write_volatile` instead of `write_bytes`.