update method

  1. @override
Hash update(
  1. List<int> data
)
override

Updates the MD4 hash with the provided input data.

Parameters:

  • data: The input data to be included in the hash computation.

Implementation

@override
Hash update(List<int> data) {
  if (_finished) {
    throw CryptoException.failed("MD4.update", reason: "State was finished.");
  }
  _lengthInBytes += data.length;
  _buffer.addAll(data.asBytes);
  _iterate();
  return this;
}