Versions in this module Expand all Collapse all v0 v0.1.0 Oct 11, 2019 Changes in this version + func CheckCipherMethod(method string) error + type DecOrEnc int + const Decrypt + const Encrypt + type SSTCPConn struct + IObfs obfs.IObfs + IProtocol protocol.IProtocol + func NewSSRClient(u *url.URL) (*SSTCPConn, error) + func NewSSTCPConn(c net.Conn, cipher *StreamCipher) *SSTCPConn + func (c *SSTCPConn) Close() error + func (c *SSTCPConn) GetIv() (iv []byte) + func (c *SSTCPConn) GetKey() (key []byte) + func (c *SSTCPConn) Read(b []byte) (n int, err error) + func (c *SSTCPConn) Write(b []byte) (n int, err error) + type StreamCipher struct + func NewStreamCipher(method, password string) (c *StreamCipher, err error) + func (c *StreamCipher) Copy() *StreamCipher + func (c *StreamCipher) IV() ([]byte, int) + func (c *StreamCipher) Key() (key []byte, keyLen int)