doFinal method
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;
}