Skip to main content
Module

x/hpke/mod.ts>RecipientContextParams

A Hybrid Public Key Encryption (HPKE) module built on top of Web Cryptography API.
Latest
interface RecipientContextParams
implements KeyScheduleParams
import { type RecipientContextParams } from "https://deno.land/x/hpke@1.2.7/mod.ts";

The parameters used to setup the RecipientContext.

Properties

recipientKey: CryptoKey | CryptoKeyPair

A recipient private key or a key pair.

enc: ArrayBuffer

A byte string of the encapsulated key received from a sender.

optional
senderPublicKey: CryptoKey

A sender public key for Auth mode.