IsWebHarePasswordHashStillSecure (open)

Is the specified password hash still secure?

Syntax

LOADLIB "wh::crypto.whlib";

BOOLEAN FUNCTION IsWebHarePasswordHashStillSecure(STRING hash)

Parameters

STRING hash

Hash to verify

Return value

BOOLEAN

True if the hash is still considered sufficiently strong, and on par with the hash CreateWebHarePasswordHash will return

Description

This function can be used to detect whether the password should be rehashed. It only verifies the hash, not the strength of the actual password.