Re: MD5 hash query

From: Robert Collins <>
Date: Fri, 28 Dec 2001 22:42:49 +1100

----- Original Message -----
From: "Joe Cooper" <>
To: "Robert Collins" <>
Cc: <>
Sent: Friday, December 28, 2001 10:37 PM
Subject: Re: MD5 hash query

> I see...I'm definitely missing the Method->enum conversion. So will
> that. Should that be octal or does it matter? METHOD_GET is shown as
> 001 in enums.h, but I thought an enum as defined there would put it
> simply at 1. I'll just try it. ;-)
> I was looking at're looking at storeKeyPrivate.
> Should I be looking at Private? If so, it looks like Squid can also

Whoops! Whatever one gets committed to disk, which I have never tracked
through :}.

As for the method conversion: it gets fed into the MD5 in binary, so you
need to feed the binary value in. (ie if size(method)==4, and GET is 1,
then the result will be 0x00000001 - but don't forget to adjust for your

Received on Fri Dec 28 2001 - 04:42:41 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:42 MST