digest method
Generates the final hash digest by assembling and returning the hash state.
Returns the Containing the computed hash digest.
Implementation
@override
List<int> digest() {
final out = List<int>.filled(getDigestLength, 0);
finish(out);
return out;
}