keccak224sum function

String keccak224sum(
  1. String input, [
  2. Encoding? encoding,
  3. bool uppercase = false
])

Generates a Keccak-224 checksum in hexadecimal

Parameters:

  • input is the string to hash
  • The encoding is the encoding to use. Default is input.codeUnits
  • uppercase defines if the hexadecimal output should be in uppercase

Implementation

String keccak224sum(
  String input, [
  Encoding? encoding,
  bool uppercase = false,
]) {
  return keccak224.string(input, encoding).hex(uppercase);
}