alder32code function

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

Gets the Alder-32 value of a String

Parameters:

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

Implementation

int alder32code(String input, [Encoding? encoding]) {
  return alder32.string(input, encoding).number();
}