DartAesCtr constructor

const DartAesCtr({
  1. required MacAlgorithm macAlgorithm,
  2. int secretKeyLength = 32,
  3. int counterBits = AesCtr.defaultCounterBits,
  4. Random? random,
})

Implementation

const DartAesCtr({
  required this.macAlgorithm,
  this.secretKeyLength = 32,
  this.counterBits = AesCtr.defaultCounterBits,
  super.random,
})  : assert(secretKeyLength == 16 ||
          secretKeyLength == 24 ||
          secretKeyLength == 32),
      super.constructor();