import { pkGenerateECDSA } from "https://deno.land/x/simple_utility@v1.4.4/src/crypto.ts";
Generate exportable public-key pair for ECDSA. Curve algorithm is "NIST P-256".
Examples
Example 1
Example 1
const {publicKey, privateKey} = await pkGenerateECDSA();
Returns
Promise<PortableCryptoKeyPair>