Documentation ¶
Index ¶
- func DecryptCBC5(ciphertext, key, iv string) (str string, err error)
- func DecryptCBC5Bytes(ciphertext, key, iv string) (str []byte, err error)
- func DecryptCBC7(ciphertext string, key []byte) (string, error)
- func EncryptCBC5(plaintext []byte, key, iv string) (string, error)
- func EncryptCBC5Bytes(plaintext []byte, key, iv string) ([]byte, error)
- func EncryptCBC7(plaintext []byte, key []byte) (string, error)
- func PKCS5Padding(cipherText []byte, blockSize int) []byte
- func PKCS5Trimming(encrypt []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptCBC5 ¶
DecryptCBC5 解密
func DecryptCBC5Bytes ¶
DecryptCBC5Bytes 解密
func EncryptCBC5 ¶
EncryptCBC5 加密
func EncryptCBC5Bytes ¶
EncryptCBC5Bytes 加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.