crc64sum function

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

Gets the CRC-64 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 crc64sum(String input, [Encoding? encoding]) {
  return crc64.string(input, encoding).hex();
}