Versions in this module Expand all Collapse all v0 v0.23.1 Apr 25, 2019 Changes in this version + func AesDecrypt(crypted, key []byte) ([]byte, error) + func AesEncrypt(origData, key []byte) ([]byte, error) + func GetRandomString(l int) string + func InitTls(pem, key string) + func Md5(s string) string + func NewTlsClientConn(conn net.Conn) net.Conn + func NewTlsServerConn(conn net.Conn) net.Conn + func PKCS5Padding(ciphertext []byte, blockSize int) []byte + func PKCS5UnPadding(origData []byte) (error, []byte) + type ClientHelloMsg struct + func (m *ClientHelloMsg) GetServerName() string + func (m *ClientHelloMsg) Unmarshal(data []byte) bool + type CurveID uint16 + type SignatureScheme uint16