sha512t256sum function
Generates a SHA-512/256 checksum in hexadecimal
Parameters:
inputis the string to hash- The
encodingis the encoding to use. Default isinput.codeUnits uppercasedefines whether the hexadecimal output should be in uppercase
Implementation
String sha512t256sum(
final String input, [
Encoding? encoding,
bool uppercase = false,
]) {
return sha512t256.string(input, encoding).hex(uppercase);
}