processBlock method

  1. @override
int processBlock(
  1. Uint8List inp,
  2. int inpOff,
  3. Uint8List out,
  4. int outOff,
)
override

Process a whole block of data given by inp and starting at offset inpOff.

The resulting cipher text is put in out beginning at position outOff.

This method returns the total bytes processed (which is the same as the block size of the algorithm).

Implementation

@override
int processBlock(Uint8List inp, int inpOff, Uint8List out, int outOff) {
  return cipher.processBlock(inp, inpOff, out, outOff);
}