Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/mod.browser.ts>decryptComponent

Exploring Willow in the most efficient and sound programming language
Go to Latest
function decryptComponent
import { decryptComponent } from "https://deno.land/x/willow@0.2.1/mod.browser.ts";

Type Parameters

EncryptionKey

Parameters

opts: { key: EncryptionKey; decryptFn: (key: EncryptionKey, bytes: Uint8Array) => Promise<Uint8Array>; }
component: Uint8Array

Returns

Promise<Uint8Array>