Function hacl::aead::key_gen

source ·
pub fn key_gen(alg: Algorithm) -> Vec<u8> 
Expand description

Generate a random key.