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

x/dtils/encryption.ts>generateKeyBytes

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

Generates an encryption key for symmetric encryptions using the AES algorithm

Returns

Promise<Uint8Array>