Versions in this module Expand all Collapse all v0 v0.0.2 Mar 15, 2021 Changes in this version + func CreateHash(key string) string + func GenerateAesKey() string + type Aes interface + Decrypt func(cipherText string) string + Encrypt func(plainText string) string + func AesConfig(Passphrase string) Aes v0.0.1 Mar 15, 2021 Changes in this version + func PKCS5Padding(ciphertext []byte, blockSize int) []byte + func PKCS5UnPadding(src []byte) []byte + type EncryptDecrypt interface + Decrypt func(cipherText string) string + Encrypt func(plainText string) string + func EndecryptConfig(SecretKey string, SecretIV string) EncryptDecrypt