testSimplePasswordHash

Tests a password hash generated using generateSimplePasswordHash.

deprecated
bool
testSimplePasswordHash
(
string hashstring
,
string password
,
string additional_salt = null
)

Parameters

hashstring string

The string that was returned by a call to generateSimplePasswordHash

password string

Password string to test against the hash

additional_salt string

The same optional salt that was given to the original call to generateSimplePasswordHash

Return Value

Type: bool

Returns true if the password matches the specified hash.

See Also

generateSimplePasswordHash, vibe.crypto.md5

Meta