Date: Fri, 16 Mar 2001 20:00:17 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: roam@orbitel.bg (Peter Pentchev) Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), arch@FreeBSD.ORG Subject: Re: add MD5Chunk(filename, .., offset, length) to libmd Message-ID: <200103162000.NAA16923@usr02.primenet.com> In-Reply-To: <20010316214310.A8968@ringworld.oblivion.bg> from "Peter Pentchev" at Mar 16, 2001 09:43:10 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > >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. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. 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?200103162000.NAA16923>