package
0.0.11
Repository: https://github.com/ablegao/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
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.
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.

# Interfaces

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

# Type aliases

No description provided by the author