DartAesGcm constructor
Implementation
DartAesGcm({this.secretKeyLength = 32, this.nonceLength = 12})
: assert(secretKeyLength == 16 ||
secretKeyLength == 24 ||
secretKeyLength == 32),
assert(nonceLength >= 4),
super.constructor() {
// We haven't fixed endianness issues.
if (Endian.host != Endian.little) {
throw StateError('BigEndian systems are unsupported');
}
}