I'm trying to compare the user password from different databases so users of other drupal sites can also login. I'm switching from the main database to other databases and then trying to compare the passwoord input field to the stored hash value.
I did not found a answer on this site maybe because my situation is a bit different.
I did found this question and tried user_check_password() and user_hash_password()
returns nothing and
user_hash_password returns a new hash every time I run it so I don't think I can use that to compare that to the stored value in the database.