hashString static method

Uint8List hashString(
  1. String value,
  2. Uint8List key
)

Computes a fixed-size fingerprint for given string value and key.

Implementation

static Uint8List hashString(String value, Uint8List key) =>
    hash(utf8.encoder.convert(value), key);