Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 22:36:41 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, arch@FreeBSD.ORG
Subject:   Re: add MD5Chunk(filename, .., offset, length) to libmd
Message-ID:  <20010316223641.D8968@ringworld.oblivion.bg>
In-Reply-To: <200103162000.NAA16923@usr02.primenet.com>; from tlambert@primenet.com on Fri, Mar 16, 2001 at 08:00:17PM %2B0000
References:  <20010316214310.A8968@ringworld.oblivion.bg> <200103162000.NAA16923@usr02.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 16, 2001 at 08:00:17PM +0000, Terry Lambert wrote:
> > > >As phk pointed out in the SITE MD5 thread, it is sometimes useful
> > > >to compute the MD5 hash over a range of a file.  I agree this is trivial
> > > >to implement, but why not have it in our standard toolbox?
> > > 
> > > If you include manpage patches I'll commit it.
> > 
> > Thanks! :)
> 
> 
> Please implement the "File" version as a special case of "Chunk",
> instead of duplicating all that code.  I realize that it's
> unlikely that these algorithms will ever change, causing the
> code to get out of sync, but duplicate code is generally a bad
> idea.

Will do; thanks for the (obvious, yet something I missed) idea!

G'luck,
Peter

-- 
No language can express every thought unambiguously, least of all this one.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010316223641.D8968>