Function testSimplePasswordHash
Tests a password
hash generated using generateSimplePasswordHash
.
Prototype
deprecated bool testSimplePasswordHash(
string hashstring,
string password,
string additional_salt = null
);
Parameters
Name | Description |
---|---|
hashstring | The string that was returned by a call to
generateSimplePasswordHash |
password | Password string to test against the hash |
additional_salt | The same optional salt that was given to the original
call to generateSimplePasswordHash |
Returns
Returns true if the password
matches the specified hash.
See Also
generateSimplePasswordHash
, vibe.crypto.md5
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.