password encryption

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
baiumbg
Posts: 7
Joined: Thu Jun 24, 2010 5:48 am

password encryption

Post by baiumbg »

How is the login password encrypted?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: password encryption

Post by jurchiks »

base64
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
baiumbg
Posts: 7
Joined: Thu Jun 24, 2010 5:48 am

Re: password encryption

Post by baiumbg »

It's not base64. I tried. But nevermind. I found the encryption. (utf8, sha1, pack, base64)
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: password encryption

Post by jurchiks »

well ok, didn't look at the whole line:
base64_encode( pack( "H*", sha1( utf8_encode( $_POST[ "acc_pw"]))))
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply