processBlock method
Process a block of len
bytes given by inp
and starting at offset inpOff
and put the resulting cipher text in out
beginning at position outOff
.
This method returns the total bytes put in the output buffer.
Implementation
@override
int processBlock(
Uint8List inp, int inpOff, int len, Uint8List out, int outOff) {
if (_forEncryption) {
return _encodeBlock(inp, inpOff, len, out, outOff);
} else {
return _decodeBlock(inp, inpOff, len, out, outOff);
}
}