package
1.0.2
Repository: https://github.com/doorbash/go-shadowsocks2.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewConn wraps a stream-oriented net.Conn with stream cipher encryption/decryption.
NewPacketConn wraps a net.PacketConn with stream cipher encryption/decryption.
NewReader wraps an io.Reader with stream cipher decryption.
NewWriter wraps an io.Writer with stream cipher encryption.
Pack encrypts plaintext using stream cipher s and a random IV.
No description provided by the author
Unpack decrypts pkt using stream cipher s.
No description provided by the author

# Variables

ErrShortPacket means the packet is too short to be a valid encrypted packet.

# Structs

A Conn represents a Shadowsocks connection.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Cipher generates a pair of stream ciphers for encryption and decryption.

# Type aliases

No description provided by the author