Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHash ¶ added in v0.0.2
func GenerateAesKey ¶ added in v0.0.2
func GenerateAesKey() string
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
type EncryptDecrypt ¶
type EncryptDecrypt interface { Encrypt(plainText string) string Decrypt(cipherText string) string }
func EndecryptConfig ¶
func EndecryptConfig(SecretKey string, SecretIV string) EncryptDecrypt
Click to show internal directories.
Click to hide internal directories.