Re: [squid-users] Generating cache file hash - continued

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 28 Aug 2008 00:05:37 +0200

On tor, 2008-08-21 at 09:41 +0000, John =) wrote:
> Further to my request yesterday... I would prefer to be able to just generate the md5 hash manually, rather than writing code to use storeKeyPublic() in src/store_key_md5.c. However, I must not be interpreting that function correctly as my hashes do not match the hashes produced in store.log:
>
> For example, for 'GET http://www.squid-cache.org/Images/img8.gif' -
> putting 001http://www.squid-cache.org/Images/img8.gif into the hash
> generator gives d5bf8db92c34e66592faa82454b5d867, but store.log
> shows:F506597929DF2C9F8E51ED12E77E6548

Those numbers before the URL are binary octets, not ascii..

REgards
Henrik

Received on Wed Aug 27 2008 - 22:05:44 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 28 2008 - 12:00:05 MDT