VerifyWebHarePasswordHash

Verify a password against a stored hash

Syntax

LOADLIB "wh::crypto.whlib";

BOOLEAN FUNCTION VerifyWebHarePasswordHash(STRING pwd, STRING hash)

Parameters

STRING pwd

Password to verify

STRING hash

Hash against which the password should match

Return value

BOOLEAN

True if the password matches the specified hash