How to create wordpress password hash generator using php? [closed]
Wordpress provides a default function wp_hash_password();
Example:
$password = 'admin';$hash_password = wp_hash_password($password);echo $hash_password;
To work this in PHP just load wp-load.php
, So that you can use default wordpress functions.
Wordpress actually use Portable PHP password hashing framework. WP has this included in /wp-includes/class-phpass.php