Documentation ¶ Index ¶ func AesDecrypt(cipherText string, secret string) (string, error) func AesEncrypt(plainText string, secret string) (string, error) type Aes func New(key, iv string) Aes func NewWithUrl(key, iv string, url bool) Aes Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AesDecrypt ¶ func AesDecrypt(cipherText string, secret string) (string, error) func AesEncrypt ¶ func AesEncrypt(plainText string, secret string) (string, error) Types ¶ type Aes ¶ type Aes interface { // Encrypt Encrypt(encryptStr string) (string, error) // Decrypt Decrypt(decryptStr string) (string, error) // contains filtered or unexported methods } func New ¶ func New(key, iv string) Aes func NewWithUrl ¶ func NewWithUrl(key, iv string, url bool) Aes Source Files ¶ View all Source files aes.go crypto.go Click to show internal directories. Click to hide internal directories.