Password encoding/decoding function (Expert PHP)

09-15-09, 10:39 PM
|
 |
Level II Curmudgeon
|
|
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
|
|
Quote:
Originally Posted by deadManN
tnx, and just one more thing, if my project be based on java, what diff will be on this code, what i need to include, and how to make this on there?
|
I don't know Java, but perhaps someone here who is familiar with it would be able to help you with that.
|

09-16-09, 11:43 AM
|
|
Newbie Coder
|
|
Join Date: Sep 2009
Posts: 60
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
tyvm, BTW, it's almost enough.
tnx again
|

09-16-09, 05:03 PM
|
 |
Level II Curmudgeon
|
|
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
|
|
I believe that would be the 'seques' field.
|

09-17-09, 01:22 AM
|
|
Newbie Coder
|
|
Join Date: Sep 2009
Posts: 60
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
it was empty on DB, can u dl the forum , and check, i think the only random last number can be "reg date number" any we can go in neg way, i mean instead of encode try to decode, and see which number give us the resault, can you make me a small file on php, give 1 number and one string , and then decode or encode that?
|

09-17-09, 11:04 AM
|
 |
Level II Curmudgeon
|
|
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
|
|
Quote:
Originally Posted by deadManN
it was empty on DB, can u dl the forum , and check, i think the only random last number can be "reg date number" any we can go in neg way, i mean instead of encode try to decode, and see which number give us the resault, can you make me a small file on php, give 1 number and one string , and then decode or encode that?
|
I'm sorry, I really don't have the time to download the forum again, set it up, and test it.
1) If you have people registered then you should have entries in the salt ('seques') field.
2) I'm not sure what you mean by " i think the only random last number can be "reg date number"".
3) Finally, as mentioned before, you *cannot* decode the MD5 results. All you can do is encode the data and see if it matches the already-produced hash. It's not possible to derive the password from the MD5 hash and salt.
|

09-17-09, 12:13 PM
|
|
Newbie Coder
|
|
Join Date: Sep 2009
Posts: 60
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
the field you told me was empty, and i want to use member table from forum in a platform, that's my matter
|

09-17-09, 01:34 PM
|
 |
Level II Curmudgeon
|
|
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
|
|
Quote:
Originally Posted by deadManN
the field you told me was empty, and i want to use member table from forum in a platform, that's my matter
|
If you had anyone registered, then you should have entries in the salt ('seques') field. If you don't, then you won't.
In short, the field won't be populated until someone registers, once they do then the code that was shown earlier will populate the salt field (assuming you use the same code to help generate the password hash).
|

09-17-09, 03:54 PM
|
|
Newbie Coder
|
|
Join Date: Sep 2009
Posts: 60
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
the told i told you to give me that's cuz i want to check several thing, if the salt combined with password in the front or end of that, or if it's register date, cuz they keep the date as number not as date forumat.
|

09-18-09, 12:02 AM
|
 |
Level II Curmudgeon
|
|
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
|
|
Quote:
Originally Posted by deadManN
the told i told you to give me that's cuz i want to check several thing, if the salt combined with password in the front or end of that, or if it's register date, cuz they keep the date as number not as date forumat.
|
I'm sorry... I honestly have no idea what this means or what you're trying to say.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|