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

x/dtils/devops/deps.ts>dtils.generateKeyPairBytes

The best unofficial library of utilities for Deno applications
Go to Latest
function dtils.generateKeyPairBytes
import { dtils } from "https://deno.land/x/dtils@2.2.1/devops/deps.ts";
const { generateKeyPairBytes } = dtils;

Generates an asymmetric key pair for signing or encryption purposes

Parameters

algorithm: "rsa" | "ec"