DartAesGcm constructor
DartAesGcm({})
Implementation
DartAesGcm({
this.secretKeyLength = 32,
this.nonceLength = AesGcm.defaultNonceLength,
super.random,
}) : assert(secretKeyLength == 16 ||
secretKeyLength == 24 ||
secretKeyLength == 32),
assert(nonceLength >= 4),
super.constructor() {
if (Endian.host != Endian.little) {
throw StateError('BigEndian systems are unsupported');
}
}