doFinal method
Store the MAC of previously given data in buffer out
starting at
offset outOff
. This method returns the size of the digest.
Implementation
@override
int doFinal(Uint8List out, int outOff) {
_digest.doFinal(_outputBuf, _blockLength);
_digest.update(_outputBuf, 0, _outputBuf.length);
var len = _digest.doFinal(out, outOff);
_outputBuf.fillRange(_blockLength, _outputBuf.length, 0);
_digest.update(_inputPad, 0, _inputPad.length);
return len;
}