Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptData ¶
func HmacSha256 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.