$update method

  1. @override
void $update([
  1. List<int>? block,
  2. int offset = 0,
  3. bool last = false
])
override

Internal method to update the message-digest with a single block.

The method starts reading the block from offset index

Implementation

@override
void $update([List<int>? block, int offset = 0, bool last = false]) {
  _acc1 = _accumulate(_acc1, qbuffer[0]);
  _acc2 = _accumulate(_acc2, qbuffer[1]);
  _acc3 = _accumulate(_acc3, qbuffer[2]);
  _acc4 = _accumulate(_acc4, qbuffer[3]);
}