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

x/hpke/core/mod.ts>AeadInterface

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

The AEAD interface.

Properties

readonly
id: AeadId

The KDF identifier.

readonly
keySize: number

The length in bytes of an AEAD key (Nk).

readonly
nonceSize: number

The length in bytes of an AEAD nonce (Nn).

readonly
tagSize: number

The length in bytes of an AEAD authentication tag (Nt).

Methods

createEncryptionContext(key: ArrayBuffer): AeadEncryptionContext

Creates an AEAD encryption context which has seal/open operation.