doFinal method

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

Store the digest 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) {
  var bitLength = Register64(_byteCount)..shiftl(3);

  _processPadding();
  _processLength(bitLength);
  _doProcessBlock();

  _packState(out, outOff);

  reset();

  return digestSize;
}