Skip to main content
Module

x/simple_utility/mod.ts>cryptoGenerateSignKey

Simplify processing for Deno.
Latest
function cryptoGenerateSignKey
import { cryptoGenerateSignKey } from "https://deno.land/x/simple_utility@v2.1.0/mod.ts";

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

Examples

Example 1

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