verify static method

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

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

Implementation

static bool verify(
        Uint8List signature, Uint8List message, Uint8List publicKey) =>
    Sodium.cryptoSignVerifyDetached(signature, message, publicKey) == 0;