doFinal method

  1. @override
int doFinal(
  1. Uint8List out,
  2. int outOff
)
override

Finish the operation either appending or verifying the MAC at the end of the data.

Returns the number of bytes written to the output.

Implementation

@override
int doFinal(Uint8List out, int outOff) {
  var len = _processPacket(data.toBytes(), 0, data.length, out, outOff);

  reset();

  return len;
}