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

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

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

Symmetrically decrypt bytes using keyBytes, which must be an AES key, with a 16 byte counter prepended

Parameters

keyBytes: Uint8Array
encryptedBytes: Uint8Array