[wp-hackers] Default Password ... or test two "hashed" passwords for match

Robert Lusby nanogwp at gmail.com
Tue Jun 21 19:19:24 UTC 2011

$password = "test";
$hash1 =  wp_hash_password($password);
$hash2 = echo wp_hash_password($password);

will echo two different values, despite the password being the same.

Is there a way to compare the two hashes to see if they came from the 
same password?

Or the actual question - need to see if a user is using the "default" 
password we supply them with?

More information about the wp-hackers mailing list