digestHex method
Digests data and returns the result as lowercase hexadecimal.
Same as digest, in the representation package:crypto's
Digest.toString() produces — the form most systems store and compare.
Implementation
String digestHex(String algorithmName, Uint8List data) =>
encodeHex(digest(algorithmName, data));