UNPKG

@hpke/common

Version:

A Hybrid Public Key Encryption (HPKE) internal-use common module for @hpke family modules.

7 lines (6 loc) 227 B
// The input length limit (psk, psk_id, info, exporter_context, ikm). export const INPUT_LENGTH_LIMIT = 8192; // The minimum length of a PSK. export const MINIMUM_PSK_LENGTH = 32; // b"" export const EMPTY = new Uint8Array(0);