sha512t224sum function
Generates a SHA-512/224 checksum in hexadecimal
Parameters:
input
is the string to hash- The
encoding
is the encoding to use. Default isinput.codeUnits
uppercase
defines if the hexadecimal output should be in uppercase
Implementation
String sha512t224sum(
final String input, [
Encoding? encoding,
bool uppercase = false,
]) {
return sha512t224.string(input, encoding).hex(uppercase);
}