secretKeyLength property

  1. @override
int secretKeyLength
final

Number of bytes in the SecretKey.

Method newSecretKey uses this property to generate correct-length secret keys.

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

Implementation

@override
final int secretKeyLength;