Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hpke/core/src/native.ts

A Hybrid Public Key Encryption (HPKE) module built on top of Web Cryptography API.
Latest
import * as hpke from "https://deno.land/x/hpke@1.2.9/core/src/native.ts";

Classes

The Hybrid Public Key Encryption (HPKE) ciphersuite, which is implemented using only Web Cryptography API.

The DHKEM(P-256, HKDF-SHA256) for HPKE KEM implementing KemInterface.

The DHKEM(P-384, HKDF-SHA384) for HPKE KEM implementing KemInterface.

The DHKEM(P-521, HKDF-SHA512) for HPKE KEM implementing KemInterface.

The HKDF-SHA256 for HPKE KDF implementing KdfInterface.

The HKDF-SHA384 for HPKE KDF implementing KdfInterface.

The HKDF-SHA512 for HPKE KDF implementing KdfInterface.