MyBB Community Forums

Full Version: Password Encryption?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

As per my thread in the Chit-Chat area, I am working on a script that bridges all of my forums. I have a very simple, general, question. What is the method for encrypting the password? I tried just using md5(password) and it gave me something totally different than what's in the db. Because, what I want to be able to do is let the user enter their credentials, then it will check them against the database. It would be very helpful if it worked Toungue

Thanks!
It md5's it with a salt. Look in member.php and inc/functions_user.php for info.
$stored_pass = md5(md5($salt).md5($plain_pass));