Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function pkGenerateECDSA
import { pkGenerateECDSA } from "https://deno.land/x/simple_utility@v2.0.0/mod.pure.ts";

Generate exportable public-key pair for ECDSA. Curve algorithm is "NIST P-256".

Examples

Example 1

const {publicKey, privateKey} = await pkGenerateECDSA();