![]() |
#61 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
|
alex it shouldn't matter that we are working with "minus" numbers... it is simply another way of interpreting the left-most bit. The only problem we had in php was the rightshift operator, which filled empty spaces with 1's if the number was negative. That we fixed with the zerofill() function.
When we have the final result in $eax, we can use a simple function like printf() to convert it to an unsigned integer. |
![]() |
![]() |
![]() |
#62 |
Enthusiast
![]() ![]() Posts: 49
Karma: 123
Join Date: Jun 2004
|
Thanks loads for the C code. I should be finished in 10-20 minutes at most, although I may have to add fixes for unsigned integers again.
|
![]() |
![]() |
Advert | |
|
![]() |
#63 |
Enthusiast
![]() ![]() Posts: 49
Karma: 123
Join Date: Jun 2004
|
Ok. Getting minus values still. Any suggestions? Code is availible here
http://meese.ath.cx/google/googlecheck3.php |
![]() |
![]() |
![]() |
#64 |
Enthusiast
![]() ![]() Posts: 49
Karma: 123
Join Date: Jun 2004
|
my aim username is 'alex w stapleton' without the speach marks of course.
|
![]() |
![]() |
![]() |
#65 |
Enthusiast
![]() ![]() Posts: 49
Karma: 123
Join Date: Jun 2004
|
Im getting minus values. And their binary equivilents are wrong! Hence it doesnt work. Someone please examine my source.
|
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
|
Try it with adding
sprintf("%u",$ch); at the end! |
![]() |
![]() |
![]() |
#67 |
Nameless Being
|
Two comments:
1) The "initval" (or "level"-value) in the Jenkins hash-algorithm is probably not the GOOGLE_MAGIC-value since initval is supposed to by a 4-byte number. 2) The "info:" of the URL-string should probably not be url-encoded (that is, the :-sign shall not be replaced with %3A). |
![]() |
![]() |
#68 |
Member
![]() Posts: 22
Karma: 87
Join Date: Jun 2004
Location: India
|
Hi Alex / Doctorow ... how is it going ?
Lets do it guys.. then we will try to do something about Yahoo WebRank ![]() |
![]() |
![]() |
![]() |
#69 |
Enthusiast
![]() ![]() Posts: 49
Karma: 123
Join Date: Jun 2004
|
0xE6359A60 is what the ASM code uses. (the magic value)
i fixed the info: thing still gives wrong result with printf |
![]() |
![]() |
![]() |
#70 |
Enthusiast
![]() ![]() Posts: 49
Karma: 123
Join Date: Jun 2004
|
im gunna run a debugger over the C code to check where the values are different between versions
|
![]() |
![]() |
![]() |
#71 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
|
alex: I cannot debug your code before tonight... will download the most current one and check it out later.
cyberax: didn't even know that yahoo had something similar ![]() |
![]() |
![]() |
![]() |
#72 |
Enthusiast
![]() ![]() Posts: 49
Karma: 123
Join Date: Jun 2004
|
After the while loop:
Code:
PHP: $c = 671391756 C: c = 3884531380 |
![]() |
![]() |
![]() |
#73 |
Member
![]() Posts: 22
Karma: 87
Join Date: Jun 2004
Location: India
|
In my opinion we need the Hash of "info%3Awww%2Eexample%2Ecom"
|
![]() |
![]() |
![]() |
#74 |
Enthusiast
![]() ![]() Posts: 49
Karma: 123
Join Date: Jun 2004
|
WHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OO
i've done it! the urlencoded() string should NOT be sent to the hash function. silly me. time for code cleanup then release. |
![]() |
![]() |
![]() |
#75 |
Member
![]() Posts: 22
Karma: 87
Join Date: Jun 2004
Location: India
|
url: info:http://www.example.com/
540747202 00100000001110110010010111000010 should be 540747202 00100000001110110010010111000010 Did you make it ? |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Seriously thoughtful Dekker's Algorithm help. | Catire | Lounge | 13 | 03-19-2010 10:03 AM |
Bulk Pagerank Checker Script? | SNaRe | Lounge | 2 | 10-22-2006 04:36 PM |
Google Toolbar Pagerank Checksum Revealed! | Alexander Turcic | Lounge | 5 | 02-17-2006 08:09 AM |
Google Checksum CH calculator | cyberax | Lounge | 2 | 08-17-2004 09:37 PM |