Documentation
¶
Index ¶
- func NewCipherConn(conn net.Conn, key [32]byte) (net.Conn, error)
- func NewCipherConnWithIv(conn net.Conn, key [32]byte, iv [aes.BlockSize]byte) (net.Conn, error)
- func NewCipherSteamConn(conn net.Conn, aesKey [32]byte) net.Conn
- func NewStreamBuf() []byte
- func NewStreamFixedSizeConn(size int, conn net.Conn) net.Conn
- func PaddingStream(data []byte) (n int, paddingData []byte, err error)
- func RealLen(shadowLen uint32) int
- func ShadowLen(l int) (uint32, error)
- func UnPaddingStream(data []byte) (n int, realData []byte, err error)
- type CipherConn
- type StreamConn
- type StreamFixedSizeConn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCipherConnWithIv ¶
func NewStreamBuf ¶
func NewStreamBuf() []byte
Types ¶
type CipherConn ¶
type StreamConn ¶
type StreamFixedSizeConn ¶
Click to show internal directories.
Click to hide internal directories.