Documentation ¶
Index ¶
- func AesDecrypt(crypted, key []byte) ([]byte, error)
- func AesEncrypt(origData, key []byte) ([]byte, error)
- func EcbDecrypt(data, key []byte) ([]byte, error)
- func EcbEncrypt(data, key []byte) ([]byte, error)
- func GeneratePwd(password string) (pwd, salt string)
- func GetPwd(password, salt string) string
- func Md5(str string) string
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
func AesEncrypt ¶
func EcbDecrypt ¶
func EcbEncrypt ¶
func GeneratePwd ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.