package utils import "fmt" func GetSaltedPwd(pwd, salt string) string { str := fmt.Sprintf("%s-%s", salt, pwd) return MD5Hex([]byte(str)) }