digest method

List<int> digest()

Generates the final hash digest by assembling and returning the hash state in a List

This function produces the hash digest by combining the current hash state into a single List

Returns the List

Implementation

List<int> digest() {
  final out = List<int>.filled(digestLength, 0);
  finish(out);
  return out;
}