Documentation
¶
Index ¶
Constants ¶
View Source
const ( AEAD_AES_128_GCM = 0x0001 AEAD_AES_256_GCM = 0x0002 AEAD_ChaCha20Poly1305 = 0x0003 DHKEM_X25519_HKDF_SHA256 = 0x0020 KDF_HKDF_SHA256 = 0x0001 )
Variables ¶
This section is empty.
Functions ¶
func GetECHConfig ¶
func GetECHConfig(privateKey *ecdh.PrivateKey, domain string) ([]byte, error)
Generates a serialized Encrypted Client Hello (ECH) configuration for a given domain
func GetECHConfigList ¶
func GetECHConfigList(privateKey *ecdh.PrivateKey, domains []string) ([]byte, error)
Generates a serialized list of Encrypted Client Hello (ECH) configuration for a set of domains
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.