$finalize method

  1. @override
Uint8List $finalize()
override

Finalizes the message digest with the remaining message block, and returns the output as byte array.

Implementation

@override
Uint8List $finalize() {
  _high ^= xorOutHigh;
  _low ^= xorOutLow;
  return Uint8List.fromList([
    _high >>> 24,
    _high >>> 16,
    _high >>> 8,
    _high,
    _low >>> 24,
    _low >>> 16,
    _low >>> 8,
    _low,
  ]);
}