PDA

View Full Version : Generating SALT value for passwords


x3sphere
08 Jul 2007, 11:26
Hi,

I am creating a user login / registration system separate from vBulletin. Login part works fine, but I am a bit lost on the registration part.

I know that vBulletin passwords are double MD5'd then salted. Thing is, how can I create the salt value? I haven't really looked at the vB code yet... but I was hoping someone here could save me the time (seen more than a few sites with a similar system).

Dismounted
08 Jul 2007, 11:36
Is this using PHP? If it is, why not use the datamanager?

x3sphere
08 Jul 2007, 19:35
Is this using PHP? If it is, why not use the datamanager?

Yes it is. Good idea, I'll give that a try.