Function passwords::hasher::gen_salt[][src]

pub fn gen_salt() -> [u8; 16]

Generate a random 16-byte salt.