Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UseAES = new(AES)
View Source
var UseMD5 = new(MD5)
View Source
var UseRSA = new(RSA)
Functions ¶
This section is empty.
Types ¶
type Crypto ¶
type Crypto interface { Encrypt(data []byte, key []byte) ([]byte, error) Decrypt(data []byte, key []byte) ([]byte, error) }
Crypto 定义加密接口
Click to show internal directories.
Click to hide internal directories.