Function vaultist::generate_nonce

source ·
pub fn generate_nonce() -> XNonce
Expand description

Generates a random nonce for use with the XChaCha20Poly1305 cipher.