Thread Starter
eronyx
(@eronyx)
ok found smth else while waiting for answer
http://codex.wordpress.org/Function_Reference/wp_hash_password
then the description of class can be found in class-phpass.php that can be used for this
I hoped to find something easier -but will need to use that class I guess
<?php
$wp_hasher = new PasswordHash(8, TRUE);
$password_hashed = '$P$B55D6LjfHDkINU5wF.v2BuuzO0/XPk/';
$plain_password = 'test';
if($wp_hasher->CheckPassword($plain_password, $password_hashed)) {
echo "YES, Matched";
}
else {
echo "No, Wrong Password";
}
?>