L2j High Five Database password encryption method

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
svardiashvili
Posts: 6
Joined: Sat Oct 12, 2013 9:00 am

L2j High Five Database password encryption method

Post 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!
User avatar
VlLight
L2j Veteran
L2j Veteran
Posts: 577
Joined: Fri Dec 14, 2007 11:58 am
Location: Russia

Re: L2j High Five Database password encryption method

Post by VlLight »

Code: Select all

$encodedPass = base64_encode(pack('H*', sha1($userpass)))
where $userpass is plain text password.
svardiashvili
Posts: 6
Joined: Sat Oct 12, 2013 9:00 am

Re: L2j High Five Database password encryption method

Post by svardiashvili »

That's not it, I've searched it and it seems L2J password encryption was changed in High Five.
svardiashvili
Posts: 6
Joined: Sat Oct 12, 2013 9:00 am

Re: L2j High Five Database password encryption method

Post by svardiashvili »

Oh previously it was utf8_encode now it's sha1 thanks now it works!
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: L2j High Five Database password encryption method

Post 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
Image
Post Reply