[darcs-users] Crypto 4.2.0 and hashed-storage?

Eric Kow kowey at darcs.net
Wed Feb 18 14:17:37 UTC 2009

Hi Creighton,

May we challenge you into making a version of Crypto that is suitable
for use by darcs?  Right now, we are using SHA1 and SHA256.  I recall
seeing some remarks about the Crypto SHA1 implementation being more
'functional' but slower than the darcs one...


(any chance you'll be at the Hackathon?)

On Wed, Feb 18, 2009 at 11:32:20 +0100, Petr Rockai wrote:
> Eric Kow <kowey at darcs.net> writes:
> > Should hashed-storage be making use of the Crypto library?
> When Crypto exports a fast bytestring-lazy interface, sure. Unfortunately, that
> is not the case, it currently uses lists and converting to lists for computing
> digests is not quite feasible. I'd be happy to use it though, if this is
> addressed... (and, well, if the sha256 performance is reasonably close to the C
> implementation I lifted from darcs, but I don't expect this to be much of a
> problem?).

Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090218/20ef4a46/attachment.pgp>

More information about the darcs-users mailing list