nonceLength property

  1. @override
int nonceLength
final

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
final int nonceLength;