Documentation ¶
Index ¶
- func AesECBDecrypt(data, key []byte) ([]byte, error)
- func AesECBEncrypt(data, key []byte) ([]byte, error)
- func NewECBDecryptEr(b cipher.Block) cipher.BlockMode
- func NewECBEncryptEr(b cipher.Block) cipher.BlockMode
- func PKCS7Padding(cipherText []byte, blockSize int) []byte
- func PKCS7UnPadding(encrypt []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS7Padding ¶
PKCS7加填充/和PKCS5填充一样,只是填充字段多少的区别
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.