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

Gwern Branwen gwern0 at gmail.com
Wed Feb 18 16:09:43 UTC 2009


On Wed, Feb 18, 2009 at 11:04 AM, zooko <zooko at zooko.com> wrote:
> By the way, darcs might also want to consider using the Tiger-192 hash
> function instead of SHA-256.  Tiger-192 takes about 1/3 the CPU cycles of
> SHA-256 (with most C implementations of those functions, on 64-bit
> architectures).
>
> Whether that difference in speed applies to Haskell, and whether it has any
> significant effect on darcs performance, remains to be seen.  Fortunately
> darcs has a benchmarking system now which can answer such questions.
>
> Regards,
>
> Zooko
>
> P.S. There is a drawback -- Tiger-192 is more likely than SHA-256 to turn
> out to be susceptible to collision.  However, Tiger-192 is still safer than
> SHA-1 (used by git, for example), which has already turned out to be
> susceptible to collision.

I'm not terribly familiar with the hashing, but wouldn't a switch to Tiger entail backwards incompatibility? So we'd've to pay a price for that performance.

-- 
gwern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 270 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090218/3f070299/attachment-0001.pgp>


More information about the darcs-users mailing list