keccak384sum function
Generates a Keccak-384 checksum in hexadecimal
Parameters:
inputis the string to hash- The
encodingis the encoding to use. Default isinput.codeUnits uppercasedefines if the hexadecimal output should be in uppercase
Implementation
String keccak384sum(
String input, [
Encoding? encoding,
bool uppercase = false,
]) {
return keccak384.string(input, encoding).hex(uppercase);
}