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

x/dtils/mod.unstable.ts>generateKeyPair

The best unofficial library of utilities for Deno applications
Latest
function generateKeyPair
import { generateKeyPair } from "https://deno.land/x/dtils@2.6.1/mod.unstable.ts";

Generates an asymmetric, base64 encoded key pair for signing or encryption purposes

Parameters

algorithm: "rsa" | "ec"