php - Wordpress authentication through a C++ program
Short version: I have a server program that I wrote with C++, and a website with Wordpress. I would like to compare the password given by the user to the password stored in Wordpress to log the user in.
Long version: At the beginning I thought that Wordpress uses MD5 hashes due to the password reset mechanism, but it turns out that Wordpress changes the hash after resetting the password, so it's not MD5 anymore. I have access to the database and I can import the users table. The webserver, the database and the C++ server I wrote run on the same machine with Debian. How can verify a password on C/C++ from Wordpress?