Fortran Hashing Algorithm

Here’s a very fast and very good hashing algorithm developed by Daniel J. Bernstein:  (click here to see the code)

Update (5/25/2014): The code had a pretty big bug in it that is now fixed thanks to the sharp eye of a reader.  Please use the new, updated code, otherwise the result won’t change for multiple calls.  I blame my poor knowledge of Fortran back when I originally posted it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s