Documentation ¶ Index ¶ func AesDecrypt(str string, newKey string, newIV string) ([]byte, error) func AseEncrypt(str []byte, newKey []byte, newIV []byte) (string, error) func PKCS7Padding(src []byte, blockSize int) ([]byte, error) func PKCS7UnPadding(origData []byte) []byte Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AesDecrypt ¶ func AesDecrypt(str string, newKey string, newIV string) ([]byte, error) func AseEncrypt ¶ func AseEncrypt(str []byte, newKey []byte, newIV []byte) (string, error) func PKCS7Padding ¶ func PKCS7Padding(src []byte, blockSize int) ([]byte, error) func PKCS7UnPadding ¶ func PKCS7UnPadding(origData []byte) []byte Types ¶ This section is empty. Source Files ¶ View all Source files aes.go Click to show internal directories. Click to hide internal directories.