DartAesCbc constructor

const DartAesCbc({
  1. required MacAlgorithm macAlgorithm,
  2. PaddingAlgorithm paddingAlgorithm = PaddingAlgorithm.pkcs7,
  3. int secretKeyLength = 32,
  4. Random? random,
})

Implementation

const DartAesCbc({
  required this.macAlgorithm,
  this.paddingAlgorithm = PaddingAlgorithm.pkcs7,
  this.secretKeyLength = 32,
  super.random,
})  : assert(secretKeyLength == 16 ||
          secretKeyLength == 24 ||
          secretKeyLength == 32),
      super.constructor();