Function dryoc::classic::crypto_auth::crypto_auth_keygen
source · pub fn crypto_auth_keygen() -> Key
Expand description
Generates a random key using
copy_randombytes
, suitable for use with
crypto_auth_init
and crypto_auth
.
Equivalent to libsodium’s crypto_auth_keygen
.