reset method

  1. @override
void reset()
inherited

Reset the digest to its original state.

Implementation

@override
void reset() {
  _byteCount.set(0);

  _wordBufferOffset = 0;
  _wordBuffer.fillRange(0, _wordBuffer.length, 0);

  bufferOffset = 0;
  buffer.fillRange(0, buffer.length, 0);

  resetState();
}