![]() |
[ Help ] The Algorithm used with md5 passwords
Hello all,
iam working these days on php web application related to vBulletin , and so I needed to make a memberships system, But I don't want the visitors to register again .. ( I want to use the users registered in my forum ) So, i had some problems with the login system .. vBulletin doesn't use the usual md5 system .. I think it adds somethings to it .. i tried to figure out how it works .. but i couldn't really .. so, please can anyone tell me how vBulletin trat the password since it's input by the user from the login box .. till it's stored in the database ? and let's say .. that the user's password is aa .. and he is already typed it in the text-box .. and clicked the login button .. what steps will vBulletin take on the password to store it in the database ? Thanks, |
Quote:
I heard somewhere that it does a bazillion MD5 to uber encrypt a password! i swear i unticked quote message and it quoted it still :S |
well, it_s not difficutl:
PHP Code:
|
So now way ? :tired:
ok .. just if i can use the vbuelltin functions to make the same steps on the password inputed by the user .. I don't really care to know how it works .. I just need my script to work well ! Xenon : Ok .. in fact I looked .. and Tried it look this my phpmyadmin info : http://img211.imageshack.us/img211/1975/xx9mi.jpg my password on localhost is : aa Iam using it sooo ok and it's aa Iam sure so I wanted to see if this way iI found in the function would work or not .. : PHP Code:
PHP Code:
thanks for trying to help |
of course, as this is the wrong code, it should be:
PHP Code:
|
Oops .. that wored
Thanks You :) So, just if you have some time there .. what's the difference between what you wrote and what I've wrote .. ? anyway .. Thanks ^_^ ooh .. I just now observed the difference .. the salt is taken for the second md5 not the first .. it's working so well .. thanks again |
you're welcome :)
|
All times are GMT. The time now is 10:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|