Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: unhashing / decrypting passwords

@itchimes

Member

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.

Skip to toolbar