Documentation
¶
Index ¶
- func DesensitizeEmailAddress(address string, prefixOffset, suffixOffset int, includeDomain bool) string
- func EncryptBase64String(message string) string
- func EncryptHmacSha256String(message, secret string) string
- func EncryptMd5String(message string) string
- func GenerateAuthCode(length int) string
- func GenerateName(pk uint64, dictionary []string) (result string)
- func GenerateNameByDefaultDictionary(pk uint64) string
- func GenerateToken(length int, prefix string) string
- func IntegerAliasRoman(number int) (roman string)
- func UnifyEncodingToBase64(message string, encoding string) (result string, err error)
- func ValidateEmailAddress(address string, allowedDomain map[string]struct{}) (valid, allowed bool)
- func ValidateHtmlContent(content string, contentEncoding string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DesensitizeEmailAddress ¶
func EncryptBase64String ¶
func EncryptHmacSha256String ¶
func EncryptMd5String ¶
func GenerateAuthCode ¶
func GenerateName ¶
func GenerateToken ¶
func IntegerAliasRoman ¶
func UnifyEncodingToBase64 ¶
func ValidateEmailAddress ¶
func ValidateHtmlContent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.