echutil

package module
v0.0.0-...-19ddb05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳