import { cryptoSign } from "https://deno.land/x/simple_utility@v2.3.1/src/pure/crypto.ts";
Create signature using private-key.
Examples
Example 1
Example 1
const bin = await Deno.readFile("./file");
const {pub, key} = await cryptoGenerateSignKey();
const sign = await cryptoSign(bin, key);
const verify = await cryptoVerify(bin, pub, sign);