Documentation ¶
Index ¶
- func ECBDecrypter(connext, key string) (ciphertext []byte, err error)
- func ECBEncrypter(connext, key string) (msg string, err error)
- func NewECBDecrypter(b cipher.Block) cipher.BlockMode
- func NewECBEncrypter(b cipher.Block) cipher.BlockMode
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ECBDecrypter ¶
ECBDecrypter AES ECB 解密
func ECBEncrypter ¶
ECBEncrypter AES ECB 加密
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.