Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/jose/runtime/generate.ts>generateKeyPair

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno.
Extremely Popular
Go to Latest
function generateKeyPair
import { generateKeyPair } from "https://deno.land/x/jose@v4.9.1/runtime/generate.ts";

Parameters

alg: string
optional
options: GenerateKeyPairOptions