xxh64sum function

String xxh64sum(
  1. String input, [
  2. Encoding? encoding
])

Gets the 64-bit xxHash hash of a String in hexadecimal.

Parameters:

  • input is the string to hash.
  • The encoding is the encoding to use. Default is input.codeUnits

Implementation

String xxh64sum(String input, [Encoding? encoding]) {
  return xxh64.string(input, encoding).hex();
}