Pw md5? :t

Results 1 to 2 of 2
  1. #1
    is making carefully. Szaer is offline
    MemberRank
    Nov 2006 Join Date
    551Posts

    Pw md5? :t

    What is wrong with the md5 encoding? >:C

    Using the same md5 from the register script I used to create the test account, it comes OUT differently. The executed md5 password makes more sense, because you can tell my the script it's supposed to be "0x#########", but when you pull a password from the database it comes up in characters like "(SÉA^˜ s ©". :T

    I don't ever recall having this problem a couple years ago. I'm guessing the md5 has changed but why and how do you even get it to work.

    The encoding script DIRECTLY from the basic register page reads
    PHP Code:
    $Salt $Login.$Pass;
    $Salt md5($Salt);
    $Salt "0x".$Salt
    So yeah, Im not quite sure why in the database it's in characters instead of the 0x format.


    ... and why did it make the T in my title lower case ):
    Last edited by Szaer; 20-11-10 at 06:12 AM.


  2. #2
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Pw md5? :t

    Quote Originally Posted by Szaer View Post
    What is wrong with the md5 encoding? >:C

    Using the same md5 from the register script I used to create the test account, it comes OUT differently. The executed md5 password makes more sense, because you can tell my the script it's supposed to be "0x#########", but when you pull a password from the database it comes up in characters like "(SÉA^˜ s ©". :T

    I don't ever recall having this problem a couple years ago. I'm guessing the md5 has changed but why and how do you even get it to work.

    The encoding script DIRECTLY from the basic register page reads
    PHP Code:
    $Salt $Login.$Pass;
    $Salt md5($Salt);
    $Salt "0x".$Salt
    So yeah, Im not quite sure why in the database it's in characters instead of the 0x format.


    ... and why did it make the T in my title lower case ):
    md5($salt, true);

    I believe it is just the md5 in binary before the hex convert, if you run bin2hex(md5("test" ,true)) it would be equal to md5("test")

    Over in the aion section the server they made runs similarly in which it is just the sha1 in binary but base64 encoded
    Last edited by das7002; 20-11-10 at 07:41 AM.



Advertisement