Documentation
¶
Index ¶
- Constants
- func LoadEncDec() baseiface.ISingleton
- type EncDec
- func (this *EncDec) AesDec(text string, salt string) []byte
- func (this *EncDec) AesDecBase64(text string) string
- func (this *EncDec) AesEnc(text string, salt string) []byte
- func (this *EncDec) AesEncBase64(text string) string
- func (this *EncDec) DecBase64(text string) string
- func (this *EncDec) EncBase64(text string) string
- func (this *EncDec) Md5Encrypt(text string) string
Constants ¶
View Source
const (
KEY_STR = "ichub20240401"
)
Variables ¶
This section is empty.
Functions ¶
func LoadEncDec ¶
func LoadEncDec() baseiface.ISingleton
Types ¶
type EncDec ¶
type EncDec struct { basedto.BaseEntitySingle // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.