processBlock method

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

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) {
  var input = _convertInput(inp, inpOff, len);
  var output = _processBigInteger(input);
  return _convertOutput(output, out, outOff);
}