I am trying to combine my chat application login with my MediaWiki login. The chat application has an odd way of authenticating and I have modded it to work with a DB.
I am trying to match the password that the user inputs in the chat login with the one stored in the MediaWiki user table, but I cannot figure out how MediaWiki hashes its passwords. I do know that I am using the default salted hashing. Does anyone have a function that can recreate this?
I have tried:
hash('md5', $password);
but there is more to it that I cannot figure out.