PDA

View Full Version : Generating SALT value for passwords


x3sphere
07-08-2007, 09:26 AM
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
07-08-2007, 09:36 AM
Is this using PHP? If it is, why not use the datamanager?

x3sphere
07-08-2007, 05:35 PM
Is this using PHP? If it is, why not use the datamanager?

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