[−][src]Function kuska_sodiumoxide::crypto::aead::chacha20poly1305::gen_key
pub fn gen_key() -> Key
gen_key()
randomly generates a secret key
THREAD SAFETY: gen_key()
is thread-safe provided that you have
called sodiumoxide::init()
once before using any other function
from sodiumoxide.