fnv1_32_s function Null safety

int fnv1_32_s(
  1. String str,
  2. {int init = FNV1_32_INIT}
)

FNV-1 32bit hash algorithm

Implementation

int fnv1_32_s(String str, {int init = FNV1_32_INIT}) {
  return fnv1_32(utf8.encode(str), init: init);
}