Web Hosting Talk







View Full Version : Encryption Info


SupaJ
10-12-2005, 05:58 PM
Hello all..

I want to intergrate the registration from my site and the forums into one and I need to know how to encrypt the password for the forums, and what other things you need to know about the vbulletin registrar.

My site is coded in Coldfusion (.cfm)

Help is much, much appreciated.

ochiba
10-13-2005, 11:25 AM
It'll depend on the board's encryption with your site's encryption. What encryption does vbulletin use? MD5 encryption? In this case, I believe you can just use CF's hash() to store and to test new passwords as well as preserve the old ones.

SupaJ
10-13-2005, 05:19 PM
Didn't work.. Anybody else?

Have you got a script for it? Maybe you put in more than one hash?

Jason.NXH
10-15-2005, 09:44 AM
Password stored in the database:
md5(md5(password) . salt)

Password stored in the cookie:
md5(md5(md5(password) . salt) . licensenumber)
I was playing around with the vBulletin password encryption and I figured it out to be something like that also. That is a version taken from the vBulletin forums.

I don't really like to link to other forums, but this may help you. http://www.vbulletin.org/forum/showthread.php?t=71482&page=1

SupaJ
10-16-2005, 08:12 PM
<cfset hash1 = "#hash('lakisic1')# . salt">
<cfset hash2 = "#hash(hash1)# . ******">
<cfoutput>#hash(hash2)#</cfoutput>

That's the equilivent of it in cf and it still doesn't work. Any ideas?

SupaJ
10-18-2005, 02:37 PM
Anybody at all?