Commit Graph

2 Commits (2589345e5cce522eb9491a09227b315104a650e2)

Author SHA1 Message Date
Suresh Sundriyal 13f5ad0dce Change the code to use Spookyhash.
* This change removes the external dependency on OpenSSL, which should
  allow the code to compile on Mac OS X without specifying the
  MAC_OS_X_VERSION_MIN_REQUIRED non-sense.
* Spookyhash should be faster than SHA-1's Merkle-Damgård construction.
* Spookyhash is only 128-bits as opposed to SHA-1's 160-bits so memory
  consumption should be less. I doubt it will lead to too many
  collisions.
* The docs are updated to reflect the fact that OpenSSL is not a
  dependency.
11 years ago
Suresh Sundriyal 66253b432d Add Spookyhash code.
Add the code to Bob Jenkins' SpookyhashV2 to the repository. The code is
in public domain and available from:
(http://burtleburtle.net/bob/hash/spooky.html)
11 years ago