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

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

Generates an encryption key for symmetric encryptions using the AES algorithm

Returns

Promise<Uint8Array>