randomNonce static method
Generates a random nonce for use with public key-authenticated encryption.
Implementation
static Uint8List randomNonce() =>
Sodium.randombytesBuf(Sodium.cryptoBoxNoncebytes);
Generates a random nonce for use with public key-authenticated encryption.
static Uint8List randomNonce() =>
Sodium.randombytesBuf(Sodium.cryptoBoxNoncebytes);