emacs-devel
[Top][All Lists]
Advanced

[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, 11 Jun 2011 18:24:51 +0300

> From: Leo <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden,  address@hidden
> Date: Sat, 11 Jun 2011 20:37:36 +0800
> 
> On 2011-06-11 16:00 +0800, Eli Zaretskii wrote:
> [snipped 5 lines]
> >> Could people comment on the attached patch which implements sha-2?
> >
> > Why 3 different functions?  Why not one?
> 
> How do you mean?

Like this:

 (sha2 OBJECT &optional BEG END BINARY ALGORITHM)

where ALGORITHM can be sha-224, sha-256, etc.

(We could have ALGORITHM the 3rd argument, if keeping a signature
compatible with sha1 is not important.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]