Documentation ¶
Index ¶
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS5Padding ¶
Completion when the length is insufficient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.