Re: MD5 hash query

From: Joe Cooper <joe@dont-contact.us>
Date: Fri, 28 Dec 2001 14:36:43 -0600

Henrik Nordstrom wrote:

> method is the method enum converted into a single char.
>
>
> perl, simplified for GET (enum 1) only:
>
> #!/usr/bin/perl -w
> use Digest::MD5 qw(md5_hex);
> print uc(md5_hex("\1", $ARGV[0])),"\n";

One more quickie before moving on. Looking at the method_t enum, it
doesn't look like my scripts need to be concerned with anything other
than GET. Will any other method reach SWAPOUT?

Thanks!

-- 
Joe Cooper <joe@swelltech.com>
http://www.swelltech.com
Web Caching Appliances and Support
Received on Fri Dec 28 2001 - 13:35:13 MST

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