aesCtr method

  1. @override
AesCtr aesCtr({
  1. required MacAlgorithm macAlgorithm,
  2. int secretKeyLength = 32,
  3. int counterBits = AesCtr.defaultCounterBits,
})
override

A factory used by AesCtr.

Implementation

@override
AesCtr aesCtr({
  required MacAlgorithm macAlgorithm,
  int secretKeyLength = 32,
  int counterBits = AesCtr.defaultCounterBits,
}) {
  return DartAesCtr(
    macAlgorithm: macAlgorithm,
    secretKeyLength: secretKeyLength,
    counterBits: counterBits,
    random: _random,
  );
}