process method
Process a whole block of blockSize bytes stored in data
at once, returning the result in a
byte array.
This call is equivalent to processBlock but it allocates the array under the hood.
Implementation
@override
Uint8List process(Uint8List data) {
if (data.length % 8 != 0) {
throw ArgumentError('Input data should be a multiple of 64 bits.');
}
if (_encrypting) {
return wrap(data);
} else {
return unwrap(data);
}
}