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

x/hpke/src/recipientContext.ts>RecipientContextImpl#open

A Hybrid Public Key Encryption (HPKE) module built on top of Web Cryptography API.
Latest
method RecipientContextImpl.prototype.open
import { RecipientContextImpl } from "https://deno.land/x/hpke@1.2.9/src/recipientContext.ts";

Parameters

data: ArrayBuffer
optional
aad: ArrayBuffer = [UNSUPPORTED]

Returns

Promise<ArrayBuffer>