Page 1 of 1

L2j High Five Database password encryption method

Posted: Fri Dec 13, 2013 7:34 pm
by svardiashvili
L2J Revision 5937:
L2JDP Revision 9641:

I'd like to know what encryption method does L2J High Five database uses. To be more accurate, when users create account there's special encryption in accounts table for password field. I'd like to know the exact PHP encryption from normal text to that encrypted password. Thanks in advance!

Re: L2j High Five Database password encryption method

Posted: Fri Dec 13, 2013 8:35 pm
by VlLight

Code: Select all

$encodedPass = base64_encode(pack('H*', sha1($userpass)))
where $userpass is plain text password.

Re: L2j High Five Database password encryption method

Posted: Fri Dec 13, 2013 9:32 pm
by svardiashvili
That's not it, I've searched it and it seems L2J password encryption was changed in High Five.

Re: L2j High Five Database password encryption method

Posted: Fri Dec 13, 2013 9:33 pm
by svardiashvili
Oh previously it was utf8_encode now it's sha1 thanks now it works!

Re: L2j High Five Database password encryption method

Posted: Sun Dec 15, 2013 10:28 am
by UnAfraid
svardiashvili wrote:Oh previously it was utf8_encode now it's sha1 thanks now it works!
It hasnt changed utf8_encode can be added within sha1