ripemd160sum function

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

Generates a RIPEMD-160 hash in hexadecimal

Parameters:

  • input is the message string
  • encoding specifies the character encoding. Default is utf8.
  • uppercase flag indicates whether the output should be in uppercase.

Implementation

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