saveState method

  1. @override
SH1State saveState()
override

Saves the current state of the MD4 hash computation.

Returns:

  • A SH1State object containing the saved state of the hash computation.

Implementation

@override
SH1State saveState() {
  return SH1State(
    buffer: _buffer.clone(),
    length: _lengthInBytes,
    state: _state.clone(),
  );
}