![]() |
Quote:
Like Kirby said, you can with that formula calculate the hash of a userinputed password to compaire to the (hashed) password stored in the database, to see if it matches. |
Quote:
|
Quote:
Quote:
Quote:
Oops re-read the whole thing again, and i think i made a mistake here. You're probably right that he already understood it correct. |
Nah I can't get it heh, I'm full on trying all combinations of the password and my license ID but I doesn't salt go in there somewhere? And yeah I'm trying to compare the set cookie with the persons password to see if they REALLY are logged in.
|
As said, the password stored in the database is md5(md5(password) . salt).
The password stored in cookies is md5(md5(md5(password) . salt) . licensenumber). |
Sorry to go slightly off topic, but what is the "salt" bit ?
|
Quote:
|
Ok got it working, thanks heaps for the help =)
|
Quote:
|
Hello people,
can somebody help me with my SQL. I have the same problems as above, and still cant get it working. Here is mySQL syntax SELECT MD5(CONCAT(MD5("6536e4053b7eb3375d3ef92acceab8e2") , "Lxxxxxxx")); the hash above is the one found in my password column in the user table I took the licence number out of the post, but it is the L number at the top of all my PHP pages, however I cant get this to match the cookie value for the userpassword. Can any body help ? Graham |
All times are GMT. The time now is 04:02 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:
|