Skip to main content
Module

x/dtils/mod.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.6.1/mod.ts";

Generates an asymmetric key pair for signing or encryption purposes

Parameters

algorithm: "rsa" | "ec"