vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Function testSimplePasswordHash

Tests a password hash generated using generateSimplePasswordHash.

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

Parameters

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