Documentation ¶
Index ¶
- func DesCbcDecrypt(cipherText, key []byte, ivDes ...byte) ([]byte, error)
- func DesCbcEncrypt(src, key []byte) ([]byte, error)
- func PKCS5Padding(cipherText []byte, blockSize int) []byte
- func PKCS5UnPadding(src []byte) []byte
- func TripleDesDecrypt(src, key []byte) ([]byte, error)
- func TripleDesEncrypt(src, key []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DesCbcDecrypt ¶
CBC解密
func PKCS5UnPadding ¶
func TripleDesDecrypt ¶
func TripleDesEncrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.