This method will hash the clear text and compare it to the hashed text. It can
be used to authenticate passwords for example.
Namespace:
Asi.iBOAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0
Syntax
| C# |
|---|
public bool IsHashValid( string clear, string hashed ) |
| Visual Basic (Declaration) |
|---|
Public Function IsHashValid ( _ clear As String, _ hashed As String _ ) As Boolean |
| Visual C++ |
|---|
public: bool IsHashValid( String^ clear, String^ hashed ) |
Parameters
- clear
- Type: System..::.String
The unencrypted string to hash
- hashed
- Type: System..::.String
The hashed string to compare the hashed version of clear to