randomNonce static method
Generates a random nonce for use with crypto stream.
Implementation
static Uint8List randomNonce() =>
Sodium.randombytesBuf(Sodium.cryptoStreamNoncebytes);
Generates a random nonce for use with crypto stream.
static Uint8List randomNonce() =>
Sodium.randombytesBuf(Sodium.cryptoStreamNoncebytes);