encrypt
# Encrypt the plaintext password
```go
func Md5Encode(data string) string
```
## Description
Use MD5 to encrypt the user plaintext password and salt
# Check validity of password
```go
func ValidatePasswd(plainpwd, salt, password string) bool
```
## Description
Called when user login to check if password is right