encrypt method
Returns encrypted data.
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
Uint8List encrypt(final Uint8List data, {final bool padData = true}) {
_bc.init(true, _key);
return _process(_padOrRef(data, padData));
}