about summary refs log tree commit homepage
path: root/Hash_Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Hash_Functions')
-rw-r--r--Hash_Functions13
1 files changed, 11 insertions, 2 deletions
diff --git a/Hash_Functions b/Hash_Functions
index 623bfab..e285120 100644
--- a/Hash_Functions
+++ b/Hash_Functions
@@ -19,6 +19,16 @@ corruption, so don't do it.
   {lookup3 hash}[http://www.burtleburtle.net/bob/c/lookup3.c].
   <code>:hash => :jenkins_lookup3</code>
 
+== SipHash
+
+https://en.wikipedia.org/wiki/Sip_Hash
+https://131002.net/siphash/
+
+Currently (as of Ruby 2.1) the favored hash in Ruby for hash-flooding
+protection.
+
+* :siphash24 - the reference implementation
+
 == Murmur family
 
 The {Murmur}[https://sites.google.com/site/murmurhash/] family of hashes
@@ -63,7 +73,6 @@ other architectures).
 
 == Bernstein hashes
 
-* :djb3 - The hash currently favored by Bernstein.
-  See http://www.cse.yorku.ca/~oz/hash.html
+* :djb3 - See http://www.cse.yorku.ca/~oz/hash.html
 
 * :djb2 - See http://www.cse.yorku.ca/~oz/hash.html