Documentation ¶
Index ¶
- func DesCBCDecryptData(secretData, key []byte) ([]byte, error)
- func DesCBCDecryptIvData(secretData, key, iv []byte) ([]byte, error)
- func DesCBCEncryptData(originData, key []byte) ([]byte, error)
- func DesCBCEncryptIvData(originData, key, iv []byte) ([]byte, error)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(origData []byte) (bs []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DesCBCDecryptData ¶
解密数据的Bytes数组
func DesCBCDecryptIvData ¶
解密数据的Bytes数组
func DesCBCEncryptIvData ¶
加密后的Bytes数组
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.