Documentation ¶
Index ¶
- Constants
- Variables
- 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
- type IEncDec
Constants ¶
View Source
const (
KEY_STR = "ichub20240401"
)
Variables ¶
View Source
var EncDecInst = NewEncDec()
Functions ¶
func LoadEncDec ¶ added in v1.2.11
func LoadEncDec() baseiface.ISingleton
Types ¶
type EncDec ¶ added in v1.0.4
type EncDec struct { basedto.BaseEntity // contains filtered or unexported fields }
func FindBeanEncDec ¶ added in v1.2.11
func FindBeanEncDec() *EncDec
func (*EncDec) AesDecBase64 ¶ added in v1.0.4
func (*EncDec) AesEncBase64 ¶ added in v1.0.4
func (*EncDec) Md5Encrypt ¶ added in v1.0.4
Click to show internal directories.
Click to hide internal directories.