Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AEADPacketConn ¶ added in v0.28.1
func AEADPacketConn(pc net.PacketConn, ciph core.ShadowCipher) net.PacketConn
AEADPacketConn wraps pc with per-packet salt+AEAD framing (the classic AEAD shadowsocks UDP wire format), mirroring the upstream shadowaead.packetConn on the fork's stateless Pack/Unpack.
func ShadowCipher ¶
func ShadowCipher(method, password string) (core.ShadowCipher, error)
ShadowCipher derives a cipher from method + password. method is case-insensitive; "dummy"/"none" select the pass-through cipher. An empty method or password returns (nil, nil), meaning no encryption.
func UDPClientConn ¶
Types ¶
This section is empty.