clean method

  1. @override
void clean()
override

Clears internal state and buffers, resetting the MD4 hash object to its initial state.

This method securely zeros the internal state and buffers of the MD4 hash object, ensuring no sensitive data remains in memory. After cleaning, the object is reset to its initial state, ready for further use.

Implementation

@override
void clean() {
  zero(_state);
  zero(_currentChunk);
  _buffer.clear();
  reset();
}