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

  _a.pack(out, outOff, Endian.little);
  _b.pack(out, outOff + 8, Endian.little);
  _c.pack(out, outOff + 16, Endian.little);

  reset();

  return _DIGEST_LENGTH;
}