![]() |
Password encryption method
Hey I've recently been trying to code my own user registration/login system for my site that will work alongside VB but I cannot for the life of me work out the EXACT method VB uses for encryption when setting/reading their set password cookie. I know they use an md5 mix of the persons password and that randomly generated key in their user row but aside from that i cannot work out the specifics. Could someone help me out with the EXACT encryption method they use in the form of an example?
Thanks SO much in advace =) |
md5(md5(md5(password) . 'salt')) . 'LicenseNo')
|
Really? Didn't realise it used my license number in there, lemme try =)
|
Didnt work you have an extra ) in there somewhere?
|
echo md5(md5(md5($row['password']) . $row['salt']) . 'custid');
echo md5(md5(md5($row['password'] . $row['salt'])) . 'custid'); Tried both of those and neither match the cookie =( |
I guess $row['password'] is the value of column password in table user?
This ia already md5(md5('password') . 'salt') And it is not CustID but LicenseNo (found at the top of each PHP file). |
Cheers, lemme try.
|
ok I tried it like this:
echo md5($row['password'] . 'LicenseID'); Yet it still doesnt match =( Also I confirmed that this is definately my license ID and not my customer ID. |
and yep $row['password'] is the password field from the database.
|
Hmm, does work for me
|
All times are GMT. The time now is 06:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|