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

x/dtils/encryption.ts>generateKeyPairBytes

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

Generates an asymmetric key pair for signing or encryption purposes

Parameters

algorithm: "rsa" | "ec"