import { cryptoVerify } from "https://deno.land/x/simple_utility@v2.1.0/mod.ts";
Verify signature using public-key.
Examples
Example 1
Example 1
const bin = await Deno.readFile("./file");
const {publicKey, privateKey} = await cryptoGenerateSignKey();
const sign = await cryptoSign(bin, privateKey);
const verify = await cryptoVerify(bin, publicKey, sign);