Module

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

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

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

type

() => Promise<[JsonWebKey, JsonWebKey]>