PDA

View Full Version : bbpassword versus password


sifuhall
05-08-2006, 01:50 AM
I'm working on integration and have a questions.

How do I hash the bbpassword cookie to compare it to the password field in the user table?

Mrfire
09-13-2007, 08:16 AM
I'm working on integration and have a questions.

How do I hash the bbpassword cookie to compare it to the password field in the user table?

PLEASE! Can you tell me the answer if you found it?

Dismounted
09-14-2007, 11:07 AM
$password = md5(md5($password) . $salt);

setcookie(COOKIE_PREFIX . 'password', md5($password . $license), time() + 14400);
Normal password (as hashed in the database) is $password. The cookie's password is the format in which is provided in my example.

Mrfire
09-14-2007, 11:46 AM
Thank you!

Anyway i found the format of the cookie this early morning...