doFinal method

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

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) {
  _finish();

  for (var i = 0; i < 8; i++) {
    _hash[i].pack(out, outOff + (i * 8), Endian.big);
  }

  reset();

  return digestSize;
}