Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 15.06.2007, 07:53   #3
ateh
Архивный участник
 
Join Date: Apr 2006
Posts: 118
Default

Actually it's wrong, and as I see noone ever noticed that... :P As some of you know this function was sometimes returning wrong hash (too long, and with wrong data).
Problem is that someone put /65535 instead of /65536 and after that all people were using it without checking.

Those are correct lines:
Code:
$key[3] = intval(($one - $key[4] * 16777216) / 65536);
$key[7] = intval(($two - $key[8] * 16777216) / 65536);
$key[11] = intval(($three - $key[12] * 16777216) / 65536);
$key[15] = intval(($four - $key[16] * 16777216) / 65536);
Now it all finally works correctly ;P

Wrong code is for example used in:
https://postpacific.loc-online.com/f...hlight=encrypt
https://postpacific.loc-online.com/f...hlight=encrypt
https://postpacific.loc-online.com/f...hlight=encrypt
L2Tools 1.6 L2Control Panel.
ateh is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:04.