Documentation ¶
Index ¶
- func DESDecrypt(src, key, iv []byte) (res []byte, err error)
- func DESEncrypt(src, key, iv []byte) (res []byte, err error)
- func MD5(strList []string) (h string)
- func PKCS5Padding(origData []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) ([]byte, bool)
- func SHA1(sList []string) (res string)
- func SHA256(sList []string) (res string)
- func SHA512(sList []string) (res string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DESDecrypt ¶
DESDecrypt 提供一种 DES 解密的简便用法 使用 CBC 模式, PKCS5 填充
func DESEncrypt ¶
DESEncrypt 提供 DES 加密的一种简便用法 使用 CBC 模式, PKCS5 填充
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.