Documentation
¶
Index ¶
- Variables
- func Decrypt(decryptData, key, iv []byte) (srcData []byte, err error)
- func Decrypt2(decryptData, key, iv []byte) (srcData []byte, err error)
- func Encrypt(srcData, key, iv []byte) (encryptData []byte, err error)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func PKCS7UnPadding(data []byte, blockSize int) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInputNotFullBlocks = errors.New("crypto/cipher: input not full blocks")
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.