nonceLength property

  1. @override
int nonceLength
override

Number of bytes in the nonce ("Initialization Vector", "IV", "salt").

Method newNonce uses this property to generate correct-length nonces.

Methods encrypt and decrypt will throw ArgumentError if they receive incorrect-length nonces.

Implementation

@override
int get nonceLength;