nonce method

  1. @override
Uint8List nonce()
override

Implementation

@override
Uint8List nonce() {
  return rand(sodium.crypto_box_NONCEBYTES as int);
}