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

x/dtils/lib/encryption.ts>generateKeyPair

The best unofficial library of utilities for Deno applications
Go to Latest
function generateKeyPair
import { generateKeyPair } from "https://deno.land/x/dtils@1.8.0/lib/encryption.ts";

Generates an asymmetric key pair for signing or encryption purposes

Parameters

algorithm: "rsa" | "ec"