Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/blocks/commons/jwt/keys.ts>getKeyPair

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
variable getKeyPair
import { getKeyPair } from "https://deno.land/x/blocks@1.96.2/commons/jwt/keys.ts";

Returns a tuple of [publicKey, privateKey] in a JsonWebKey format.

type

() => unknown