Versions in this module Expand all Collapse all v1 v1.0.2 Aug 16, 2022 v1.0.1 Aug 8, 2022 Changes in this version + func AesDecrypt(encrypted string, pwd string) (string, error) + func AesEncrypt(plaintext string, pwd string) (string, error) + func BuildPwd(pwd string) []byte + func DecryptData(context *gin.Context, hasSeed bool) string + func EncryptData(context *gin.Context, hasSeed bool, sourceData interface{}) string + func HmacSha256(data []byte, secret []byte) []byte + type BodyData struct + Data string