DartAesCbc constructor
const
DartAesCbc({
- required MacAlgorithm macAlgorithm,
- PaddingAlgorithm paddingAlgorithm = PaddingAlgorithm.pkcs7,
- int secretKeyLength = 32,
- 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();