My client already has a WordPress blog/webshop.
Now she wants an extra system, that requires to login using the same data she uses to login in the WordPress CMS, but outside the system of WordPress.
Getting the username and password from the database is not a problem, but how can I compare the inputted password with the encrypted password from the database?
I know I need to encrypt the inputted password, but what encryption do I need to use, to make sure I can compare those 2 passwords.
WordPress using this function to hash passwords
You can include
wp-includes/class-phpass.php
file to your new system or look source make your own function