password encryption
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 7
- Joined: Thu Jun 24, 2010 5:48 am
password encryption
How is the login password encrypted?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: password encryption
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 7
- Joined: Thu Jun 24, 2010 5:48 am
Re: password encryption
It's not base64. I tried. But nevermind. I found the encryption. (utf8, sha1, pack, base64)
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: password encryption
well ok, didn't look at the whole line:
base64_encode( pack( "H*", sha1( utf8_encode( $_POST[ "acc_pw"]))))
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.