[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding sha256 and sha512 to C?
From: |
Eli Zaretskii |
Subject: |
Re: Adding sha256 and sha512 to C? |
Date: |
Sat, 28 May 2011 10:25:12 +0300 |
> Date: Fri, 27 May 2011 20:58:38 -0700
> From: Paul Eggert <address@hidden>
> Cc: address@hidden
>
> On 05/27/11 20:18, address@hidden wrote:
> > The gnulib crypto library also has sha256 and sha512
> > functions; is there any objection to adding those as well?
>
> Sounds good, but rather than continue to add crypto functions
> wouldn't it be better to have a single function parameterized by the
> algorithm name?
I agree with Paul: the API he proposes makes much more sense.