VerifyWebHarePasswordHash (open)

Verify a password against a stored hash

Syntax

LOADLIB "wh::crypto.whlib";

BOOLEAN FUNCTION VerifyWebHarePasswordHash(STRING pwd, VARIANT inhash)

Parameters

STRING pwd

Password to verify

VARIANT inhash

Hash against which the password should match. Accepts both string and authenticationsettings records since WH4.8

Return value

BOOLEAN

True if the password matches the specified hash