verifyString static method

bool verifyString(
  1. Uint8List signature,
  2. String message,
  3. Uint8List publicKey
)

Verifies whether the signature is valid for given string message using the signer's public key.

Implementation

static bool verifyString(
        Uint8List signature, String message, Uint8List publicKey) =>
    verify(signature, utf8.encoder.convert(message), publicKey);