Documentation ¶ Index ¶ func HashTimestamp(timestamp string) string func HideStar(str string) (result string) func PasswordHash(password string) string func PasswordVerify(password, hash string) bool func Substr2(str string, start int, end int) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HashTimestamp ¶ func HashTimestamp(timestamp string) string func HideStar ¶ func HideStar(str string) (result string) func PasswordHash ¶ func PasswordHash(password string) string PasswordHash 密码加密 func PasswordVerify ¶ func PasswordVerify(password, hash string) bool PasswordVerify 密码验证 func Substr2 ¶ func Substr2(str string, start int, end int) string Types ¶ This section is empty. Source Files ¶ View all Source files encrpt.go Click to show internal directories. Click to hide internal directories.