Documentation
¶
Index ¶
- func AesDeCrypt(cypted []byte, key []byte) ([]byte, error)
- func AesEcrypt(origData []byte, key []byte) ([]byte, error)
- func DePwdCode(key, pwd string) ([]byte, error)
- func EnPwdCode(key string, pwd []byte) (string, error)
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(origData []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS7Padding ¶
PKCS7Padding PKCS7 填充模式
func PKCS7UnPadding ¶
PKCS7UnPadding 填充的反向操作,删除填充字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.