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

x/hpke/src/utils/misc.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/src/utils/misc.ts";

Variables

Checks whetehr the type of input is CryptoKeyPair or not.

Checks whether the execution env is Deno or not.

Functions

Decodes Base64Url-encoded data.

Concatenates two Uint8Arrays.

Converts integer to octet string. I2OSP implementation.