verify method

Future<bool> verify (Uint8List msg, Signature sig, Uint8List pub, Curve curve)

Implementation

static Future<bool> verify(
    Uint8List msg, Signature sig, Uint8List pub, Curve curve) async {
  var res =
      await invokeCrypto('ecdsa.verify', [msg, sig.bytes, pub, curve.label]);
  return res as bool;
}