DESedeEncrypt function
Returns encrypted data using Triple DES encryption algorithm and CBD block cipher mode.
The data if padData is set to false should be padded to the nearest multiple of 8.
When padData is true, the data is padded according to the ISO/IEC 9797-1, padding method 2.
Implementation
// ignore: non_constant_identifier_names
Uint8List DESedeEncrypt(
{required final Uint8List key,
required final Uint8List iv,
required final Uint8List data,
bool padData = true}) {
return DESedeCipher(key: key, iv: iv).encrypt(data, padData: padData);
}