Current time: 03-21-2010, 02:11 AM Hello There, Guest! (LoginRegister)


Post Reply 
A small question.
08-09-2008, 08:17 PM
Post: #1
A small question.
Hello all,
I was developing a CMS for my site which would use myBB login details for authentification. However I came to the point where I need to know what function MyBB uses to encode passwords. I tried MD5 and abse64_encode but none worked. Does anybody know what function is used?


Thank you in advance.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-10-2008, 09:38 AM
Post: #2
RE: A small question.
Most authentication stuff can be found in inc/class_session.php and inc/functions_user.php

For password hashing, in inc/functions_user.php:
PHP Code:
function salt_password($password$salt)
{
    return 
md5(md5($salt).$password);

Visit this user's website Find all posts by this user
Quote this message in a reply
08-10-2008, 09:46 AM
Post: #3
RE: A small question.
Thanks a lot Big Grin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: