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

x/hpke/src/senderContext.ts>SenderContextImpl#seal

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

Parameters

data: ArrayBuffer
optional
aad: ArrayBuffer = [UNSUPPORTED]

Returns

Promise<ArrayBuffer>