import { pubkeyVerify } from "https://deno.land/x/simple_utility@v1.1.0/src/crypto.ts";
Verify signature using public-key.
Examples
Example 1
Example 1
const bin = await Deno.readFile("./file");
const key = await pubkeyGen("ECDSA");
const signature = await pubkeySign(key.privateKey, bin);
const verified = await pubkeyVerify(key.publicKey, signature, bin);