wordpress-hash-node
wordpress-hash-node copied to clipboard
I have password hashes that are generated with WP hashing in PHP (by someone else long time ago). When i'm trying to compare old hash with the actual password using...
Trying with `Wordpress v4.7`. The hash is not correct: WordPress: `$P$BARQGysBO3eGVvlkGtu31ra84.JYkV/` wordpress-hash-node: `$P$Bk73GCVnE1aA6YxnXe9fYaG5CZ5Lfj.` Had try to debug. But the `phpass` methods are the same like your node-module. Any solutions?
Good work. Thank you so much
See https://make.wordpress.org/core/2025/02/17/wordpress-6-8-will-use-bcrypt-for-password-hashing/ The wp_hash_password() and wp_check_password() functions have been updated to use the PHP native password_hash() and password_verify() functions with the bcrypt algorithm and SHA-384 pre-hashing. Both functions retain support...