示例#1
0
 private bool ValidatePassword(string password, User user)
 {
     return(Encrypt.CompareComputeHash(password, user.UserId.ToString(), user.Password));
 }