Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/mod.ts>decryptSymmetricallyUsingBytes

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

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

Parameters

keyBytes: Uint8Array
encryptedBytes: Uint8Array

Returns

Promise<Uint8Array>