package
1.6.0
Repository: https://github.com/cloudflare/circl.git
Documentation: pkg.go.dev

# Functions

NewSuite builds a Suite from a specified set of algorithms.
UnmarshalOpener parses a serialized HPKE opener and returns the corresponding Opener.
UnmarshalSealer parses an HPKE sealer.

# Constants

AEAD_AES128GCM is AES-128 block cipher in Galois Counter Mode (GCM).
AEAD_AES256GCM is AES-256 block cipher in Galois Counter Mode (GCM).
AEAD_ChaCha20Poly1305 is ChaCha20 stream cipher and Poly1305 MAC.
KDF_HKDF_SHA256 is a KDF using HKDF with SHA-256.
KDF_HKDF_SHA384 is a KDF using HKDF with SHA-384.
KDF_HKDF_SHA512 is a KDF using HKDF with SHA-512.
KEM_P256_HKDF_SHA256 is a KEM using P256 curve and HKDF with SHA-256.
KEM_P384_HKDF_SHA384 is a KEM using P384 curve and HKDF with SHA-384.
KEM_P521_HKDF_SHA512 is a KEM using P521 curve and HKDF with SHA-512.
KEM_X25519_HKDF_SHA256 is a KEM using X25519 Diffie-Hellman function and HKDF with SHA-256.
KEM_X25519_KYBER768_DRAFT00 is a hybrid KEM built on DHKEM(X25519, HKDF-SHA256) and Kyber768Draft00.
KEM_X448_HKDF_SHA512 is a KEM using X448 Diffie-Hellman function and HKDF with SHA-512.
KEM_XWING is a hybrid KEM using X25519 and ML-KEM-768.

# Variables

# Structs

Receiver performs hybrid public-key decryption.
Sender performs hybrid public-key encryption.
Suite is an HPKE cipher suite consisting of a KEM, KDF, and AEAD algorithm.

# Interfaces

Context defines the capabilities of an HPKE context.
Opener decrypts a ciphertext using an AEAD encryption.
Sealer encrypts a plaintext using an AEAD encryption.

# Type aliases