[cryptography] [zfs] [Review] 4185 New hash algorithm support

Joachim Strömbergson Joachim at Strombergson.com
Mon Oct 21 03:22:35 EDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aloha!


Eugen Leitl wrote:
> The reason is purely for dedup and pretty much nothing else. As such,
> we only need a hash with a good pseudo-random output distribution
> and collision resistance. We don't specifically need it to be
> super-secure. The salted hashing support I added was simply to
> silence the endless stream of wild hypotheticals on security.

If that is all you want, have you considered SipHash? It is much faster
than the other algorithms, yet more secure than CityHash, Murmurhash and
friends. And it provides an IV/salt to make it per instance unique.

https://131002.net/siphash/

Designed by DJB and Aumasson, the latter the designer of BLAKE and
BLAKE2 which you referred.

(Sorry to butt in and if I might have suggested something you already know.)

- -- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlJk1jsACgkQZoPr8HT30QG3CwCgzh4wjtVibnVTAsocqtGpkig/
yQsAoMtZujs8AH7v5SawXWl/06ahlfSb
=2Ps4
-----END PGP SIGNATURE-----


More information about the cryptography mailing list