If you need to manually insert password into database for Magento or WordPress. You can generate hash password.
1 2 3 4 5 6 7 8 9 10 11 | echo "md5 pass: ".md5($password); //md5 hash echo "sh1 pass: ".sha1($password); //sh1 hash //magento hash with saltecho "magento pass: ". md5($salt.$password).":".$salt; //for wordpress, you need include PasswordHash class. $wp_hasher = new PasswordHash(8, true); echo "wp(v3 & v4) pass is: ". $wp_hasher->HashPassword( trim( $password ) ); |
If its easier you can use our online wordpress/magento password hash generator form below:
Thank you for that good post. I really like it,
Good micro help.
Thanks!