secretKeyLength property

int get secretKeyLength

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

int get secretKeyLength;