Log in

View Full Version : ENcrypting a password


galt
05-08-2009, 05:58 PM
I just need a couple of pointers in the right direction. I am inserting records into the VB user table as part of registering a user on my site.

1. How do I properly encrypt the password so that VB works correctly?
2. What is that "salt" variable in the users table?
3. I found tables usertextfield and userfield. Are there any other tables that need to be inserted/updated?
4. How do I format/create joindate to get the integer that vB uses?

EnIgMa1234
05-08-2009, 06:01 PM
I just need a couple of pointers in the right direction. I am inserting records into the VB user table as part of registering a user on my site.

1. How do I properly encrypt the password so that VB works correctly?
2. What is that "salt" variable in the users table?
3. I found tables usertextfield and userfield. Are there any other tables that need to be inserted/updated?
You could try using the User Datamanager to do this.

Take a look at it's class in http://www.members.vbulletin.com/api