Re: unhashing / decrypting passwords
public static bool VerifyHash(string password, string hash)
{
// Hash the input.
string hashOfInput = GetHash(password);
// Return true if they are the same
return String.Compare(hashOfInput, hash, StringComparison.OrdinalIgnoreCase) == 0;
}
This is example of inserting password in encoded form.