reset method

void reset()

Implementation

void reset() {
  _bufferPos = 0;
  _f0 = Int64.fromInts(0, 0);
  _t0 = Int64.fromInts(0, 0);
  _t1 = Int64.fromInts(0, 0);
  _chainValue = null;

  _buffer.fillRange(0, _buffer.length, 0);

  if (_key != null) {
    _buffer.addAll(_key!);
    _bufferPos = Const.blockLengthBytes; // zero padding
  }
  init();
}