aesCbc method

  1. @override
AesCbc aesCbc({
  1. required MacAlgorithm macAlgorithm,
  2. PaddingAlgorithm paddingAlgorithm = PaddingAlgorithm.pkcs7,
  3. int secretKeyLength = 32,
})
override

A factory used by AesCbc.

Implementation

@override
AesCbc aesCbc({
  required MacAlgorithm macAlgorithm,
  PaddingAlgorithm paddingAlgorithm = PaddingAlgorithm.pkcs7,
  int secretKeyLength = 32,
}) {
  return DartAesCbc(
    macAlgorithm: macAlgorithm,
    paddingAlgorithm: paddingAlgorithm,
    secretKeyLength: secretKeyLength,
    random: _random,
  );
}