Skip to main content
Module

x/dtils/mod.ts>decryptSymmetrically

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

Symmetrically decrypt bytes using key, which must be a base64 encoded AES key and prepended 16 byte counter

Parameters

key: string
encryptedBytes: Uint8Array

Returns

Promise<Uint8Array>