L2JDP Revision Number:5984
does anybody know wich algorithm(s) is(are) used to encrypt passwords in db?

Code: Select all
base64_encode(pack('H*', sha1($pwd)))
so... what would the inverse function be for that?... cant find anything about sha1() funcjaniii wrote:Code: Select all
base64_encode(pack('H*', sha1($pwd)))
Code: Select all
<?phpfunction l2j_encrypt ($pass){ return base64_encode(pack("H*", sha1(utf8_encode($pass))));}?>
so by the time it's been hacked would be obsolet...Reimu wrote:To hack sha1 u must compute 2^64 operations ) Over 5 000 000 000 yers of calculations