nonceLength property

int nonceLength

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

int get nonceLength;