Question on password ecryption
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Eduard
- Posts: 15
- Joined: Tue Jun 03, 2008 2:09 pm
- Location: Lithuania, Vilnius
Question on password ecryption
Hello guys,sorry if I'm posting my question not in the right forum section. I would like to ask one question,whats the account password encryption scheme in l2j? One way hash? If yes then which?
Last edited by Eduard on Tue Oct 26, 2010 11:54 am, edited 1 time in total.

-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Quest on password ecryption
Function loginValid in LoginController.java.
And use search, php function for generating password posted several times.
And use search, php function for generating password posted several times.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 30
- Joined: Tue Mar 02, 2010 8:53 pm
Re: Question on password ecryption
Base64(Sha-1)Eduard wrote:Hello guys,sorry if I'm posting my question not in the right forum section. I would like to ask one question,whats the account password encryption scheme in l2j? One way hash? If yes then which?
- qwerty13
- Posts: 640
- Joined: Mon Feb 02, 2009 9:57 am
- Location: Europe
- Contact:
Re: Question on password ecryption
By the way, current encryption is very outdated, we should think about something better. Whirlpool, for example.
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Question on password ecryption
No need. Who want another encryption - already using it. Others will just complain "where my paaaaasswords ?".
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 37
- Joined: Mon May 09, 2011 8:56 am
Re: Question on password ecryption
encryption used is base64_encode(pack("H*", sha1(utf8_encode($pass))))
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Question on password ecryption
Please stop necroposting, this was answered several times in forum.razvypp wrote:encryption used is base64_encode(pack("H*", sha1(utf8_encode($pass))))
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 
