Documentation
¶
Overview ¶
Package crypto provides small X25519 helpers for Reality / v2 key handling. It uses the standard library crypto/ecdh — no xray-core or xtls/reality dep.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeriveX25519Public ¶
DeriveX25519Public returns the base64url public key for a base64url private key. Used to derive Reality pbk / v2 pbk for subscription links.
func GenerateX25519KeyPair ¶
GenerateX25519KeyPair returns a fresh (private, public) key pair as base64url strings (no padding). Used to mint Reality server private keys.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.