digest method

  1. @override
List<int> digest()
override

Returns the final hash digest as a List<int>.

This method calls the 'finish' method to complete the hash computation if it has not already been finished, and then returns the hash digest as a List<int>.

Returns:

Implementation

@override
List<int> digest() {
  List<int> out = List<int>.filled(getDigestLength, 0);
  finish(out);
  return out;
}