Re: [dev] [sbase] [patch] Add sha1sum

From: sin <sin_AT_2f30.org>
Date: Thu, 4 Jul 2013 15:49:24 +0300

On Thu, Jul 04, 2013 at 12:34:14PM +0000, Robert Ransom wrote:
> On 7/4/13, sin <sin_AT_2f30.org> wrote:
> > Hi,
> >
> > Added sha1sum(1) based on nsz's stripped down version
> > of libtomcrypt from http://port70.net/~nsz/crypt/.
>
> It's "SHA-1", not "SH1".

Oops, that's a typo - thanks for spotting. Will re-send.

> sha1sum.c is very similar to md5sum.c; ideally, more of the common
> code between those programs would be in a library routine.

Yeah they are very similar, however, the code is very simple and
there is not going to be more programs in sbase that will use that code
as far as I know. If that is indeed the case then I can factor out
the common bits incrementally when we need it.

Both the md5.[ch] and sha1.[ch] code is very simple to use.

Thanks,
stateless
Received on Thu Jul 04 2013 - 14:49:24 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 04 2013 - 15:00:06 CEST