prashanth
Starting Member
12 Posts |
Posted - 19 September 2006 : 06:53:04
|
Hi, I need to port the username, password and email into a separate database. I need to do this as i need a common registration for forum and other services of my existing site. Porting username and email is not an issue as they are not encrypted. The password is encrypted. So i need the password in its original format so that i can encrypt it and store it in my database. By doing this i will be able to have a same user authentication for both forum as well as my existing services. Pls help as this is very important for me. |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 19 September 2006 : 06:59:46
|
Passwords cannot be decrypted, they use 256 bit one way encryption. You'll need to copy the password over to your other table in its encrypted form then use the sha256 function, found in inc_sha256.asp, to encrypt passwords as members login. Alternatively, a better solution is to simply use the Snitz MEMBERS table with the non-forum elements of the site.
Search is your friend and will help you to find more information on both these options as well as answers to the rest of your questions.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|