verifyString static method

bool verifyString(
  1. Uint8List tag,
  2. String value,
  3. Uint8List key
)

Verifies that the tag is valid for given string value and key.

Implementation

static bool verifyString(Uint8List tag, String value, Uint8List key) =>
    verify(tag, utf8.encoder.convert(value), key);