pub fn crypto_onetimeauth_keygen() -> Key
Expand description

Generates a random key using copy_randombytes, suitable for use with crypto_onetimeauth_init and crypto_onetimeauth. The key should only be used once.

Equivalent to libsodium’s crypto_onetimeauth_keygen.