Documentation
¶
Index ¶
- func AESDecrypt(crypted, key []byte, unPkcs func(data []byte) []byte) ([]byte, error)
- func AESEncrypt(origData, key []byte, pkcs func(text []byte, size int) []byte) ([]byte, error)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESDecrypt ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
func PKCS7UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.