[][src]Function monocypher::utils::wipe

pub fn wipe(secret: &mut [u8])

Clears a memory region.

Example

use monocypher::utils::wipe;

let mut secret: [u8; 16] = [255; 16];
wipe(&mut secret);