Google Toolbar Page Rank checksum used a public domain hash algorithm written by Bob Jenkins in the mid-1990s

Working PHP source for Google Page Rank checksum algorithm.

Alex Stapleton figured out the algorithm to calculate the checksum to grab the Google Toolbar Page Rank for any URL:

How to use checksum algorithm to getting your Google Page Rank without the Toolbar.

Once you calculated the checksum, you can dynamically find out the Page Rank for a page by reading the values returned by the following URL: http://www.google.com/search?client=navclient-auto&ch=[checksum here]&features=Rank&q=info:http://www.example.com

Did checksum algorithm kill Google Toolbar Page Rank?

One might point out that it is also highly unethical to public Google Page Rank algorithm. Google has invested massive amounts of money and time to develop a proprietary measure for their own private, internal use. Not true. Google used a public domain hash algorithm written by Bob Jenkins in the mid-1990s. The algorithm was explained in an article in Dr.Dobbs magazine in September 1997. Google didn't even exist yet. The code is on Jenkins' site and it's clearly marked as public domain, free for the taking, for any use whatsoever.

There's an "initval" in the code that seeds the algorithm. Google's initval is 0xE6359A60. This is one of two things that are specific to Google in the code. The other is that they stick the word "info:" in front of the URL before hashing it. That's no secret either, since they also do this in the QUERY_STRING that phones home.

After Page Rank checksum algorithm source code was public Google says: "The PageRank that is displayed in the Google Toolbar is for entertainment purposes only. Due to repeated attempts by hackers to access this data, Google updates the PageRank data very infrequently because is it not secure. On average, the PR that is displayed in the Google Toolbar is several months old. If the toolbar is showing a PR of zero, this is because the user is visiting a new URL that hasn't been updated in the last update. The PR that is displayed by the Google Toolbar is not the same PR that is used to rank the webpage results so there is no need to be concerned if your PR is displayed as zero. If a site is showing up in the search results, it doesn't not have a real PR of zero, the Toolbar is just out of date"

Alternatively, you can check site's Page Rank score using the Google Directory - assuming of course that site is listed in the Google Directory! Listings on Google Directory category pages are ranked in order of Page Rank score. This means it is possible to see small Page Rank shifts relative to other sites in category, particularly if there are a number of sites listed on category page. If you are curious where site sat in comparison to others listed on that category page in the past, you can get historical Page Rank scores using the Wayback Machine available from Alexa.

References

  1. Google Toolbar
  2. Google Directory
  3. Alex Stapleton's Google Page Rank Checksum Algorithm
  4. Hash functions and block ciphers
  5. Dr. Dobb's Journal
  6. Internet Archive Wayback Machine