Documentation ¶
Index ¶
- func AesDecryptECB(ct, key, iv []byte) ([]byte, error)
- func AesEncryptCBC(text []byte, key []byte, iv []byte, blockSize int) []byte
- func AesEncryptECB(pt, key, iv []byte, blockSize int) []byte
- func EapiDecrypt(ct []byte) ([]byte, error)
- func EapiEncrypt(url []byte, data interface{}) map[string]string
- func Md5Hex(message string) string
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func RsaEncrypt(text []byte, pk []byte) []byte
- func WeapiEncrypt(text []byte) map[string]string
- type Crypto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecryptECB ¶
func AesEncryptECB ¶
func EapiDecrypt ¶
func EapiEncrypt ¶
func PKCS5Padding ¶
func RsaEncrypt ¶
func WeapiEncrypt ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.