public static Boolean CheckIsPasswordHashCorrect(String salt, String password, String checkingPasswordHash)
        {
            String  calculatedPasswordHash = SHA1Hasher.EncodePassword(password, salt);
            Boolean result = String.Equals(calculatedPasswordHash, checkingPasswordHash);

            return(result);
        }
 public static void CalculatePasswordHash(String password, out String passwordSalt, out String passwordHash)
 {
     passwordSalt = SHA1Hasher.GetUsefulSalt();
     passwordHash = SHA1Hasher.EncodePassword(password, passwordSalt);
 }