Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Google PageRank Checksum Algorithm Unmasked
- Will Spencer
July 6, 2004, 2:11 pm
rate this thread
Re: Google PageRank Checksum Algorithm Unmasked
I am still working on it, but still didn't solve all the problems. If anyone
here wants to help, I'd be very happy.
Problem is that perl treats big integers in another way then php does when
using bitwise operations. It's, that's what I got so far, that perl does not
overflow the 32bit-buffer, but fills it and then shifts with a full
32bit-integer. Discussion of the behaviour (in german):
Now, I got the idea to simply rewrite bitwise-operations into functions that
manipulate the integers before operating on them to reach compatibilty to
php (and bash and probably lots of other languages). Gotta admit here, I did
never really get cosy with bitshifting and all that basic stuff :/
anyway: my code-try is available at http://www.delinquent.de/ch.txt - please
drop me a line if you have any ideas!