I need to write a specific authentication function for a 3rd party software (which takes data from mysql db) and will be available only for users which are registered in wordpress.
after a few hours of search I still failed to find how that password is generated for wordpress - the only thing i found is that it is md5 - but from what i see it does not look at all as md5
having this structure:
$P$BxdPfJryDUpkH1x0Oy*******Gu9Mw. (******* - removed for security purposes)
and knowing the user and password how to generate that format again and check if that is the right password? do they use base64 or any other encryption algorithm?
also I noticed that many passwords start with $P$B so I think this can be removed for processing the other part - but still have npo idea what to do with the rest.
could someone please advise how to do that?