Function testSimplePasswordHash

Tests a password hash generated using generateSimplePasswordHash.

Prototypes

bool testSimplePasswordHash(
  string hashstring,
  string password,
  string additional_salt
);

Parameters

Parameter nameDescription

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 iff 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.