title: Check if entered password is hashed
body: <p>The scenario is like this: 
  <br>password return into input field as hashed password,<br> 1 - first user does not update password; in this case just return the current hashed password,<br> 2 - else user update his/her password then hash the new password and then save it in database.<br> So how to check returned password is hashed or not? </p>
  
  <p>Code: </p>
  
  <pre><code>public int UpdatePrivilege(User user, int changerId, string pwd)
  {
      if (user.pwd == pwd) //how to check if hashed or not.
      {
          user.pwd = _Md5Hash(user.pwd);
      }
      return dalc.Update(user, changerId);
  }
  </code></pre>
  
  <p>Secondly, let's say user does not update password; does old password will maintain as it is after saving process? </p>