reset method

  1. @override
Hash reset()
inherited

Resets the hash computation to its initial state.

This method initializes the hash computation to its initial state, clearing any previously processed data. After calling this method, you can start a new hash computation.

Returns the current instance of the hash algorithm with the initial stat

Implementation

@override
Hash reset() {
  _init();
  _finished = false;
  _lengthInBytes = 0;
  return this;
}