digest method
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
@override
List<int> digest() {
final out = List<int>.filled(getDigestLength, 0);
finish(out);
return out;
}