CipherVerifyPasswordHash Method

Verifies the given user password against a given hash.

Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.128 -- Release Build+bd1c1867941d4700e644c1451bb1298b1b27c8bc
public static bool VerifyPasswordHash(
	string hash,
	string password,
	int categoryID = 0
)

Parameters

hash  String
Stored hash.
password  String
User provide password.
categoryID  Int32  (Optional)
Specifies the optional category ID.

Return Value

Boolean
true if the given user password matches the stored hash; otherwise, false.

See Also