Documentation
¶
Overview ¶
Package hpke provides a thin wrapper around Cloudflare's HPKE implementation
Index ¶
Constants ¶
View Source
const ( KEM_P256_HKDF_SHA256 = hpke.KEM_P256_HKDF_SHA256 KEM_P384_HKDF_SHA384 = hpke.KEM_P384_HKDF_SHA384 KEM_P521_HKDF_SHA512 = hpke.KEM_P521_HKDF_SHA512 KEM_X25519_HKDF_SHA256 = hpke.KEM_X25519_HKDF_SHA256 )
Available KEMs
View Source
const ( KDF_HKDF_SHA256 = hpke.KDF_HKDF_SHA256 KDF_HKDF_SHA384 = hpke.KDF_HKDF_SHA384 KDF_HKDF_SHA512 = hpke.KDF_HKDF_SHA512 )
Available KDFs
View Source
const ( AEAD_AES128GCM = hpke.AEAD_AES128GCM AEAD_AES256GCM = hpke.AEAD_AES256GCM AEAD_ChaCha20Poly1305 = hpke.AEAD_ChaCha20Poly1305 )
Available AEADs
Variables ¶
View Source
var NewSuite = hpke.NewSuite
NewSuite creates a new HPKE suite from components
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.