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.iBO
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public bool IsHashValid(
	string clear,
	string hashed
)
Visual Basic
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

Return Value

True if clear hashes to the same value as hashed. False if not or an error occurs.

See Also