Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix readme

  • Loading branch information...
commit ffeb010b284e06184987f5971f07e53642bbd5b6 1 parent f2ccb40
@jakedouglas authored
Showing with 14 additions and 1 deletion.
  1. +0 −1  README
  2. +14 −0 README.md
View
1  README
@@ -1 +0,0 @@
-Test cases were taken from the C file.
View
14 README.md
@@ -0,0 +1,14 @@
+[Fowler-Noll-Vo hash](http://en.wikipedia.org/wiki/Fowler_Noll_Vo_hash)
+====================
+
+```ruby
+require "fnv"
+
+FNV.new.fnv1a_64("blah") => 14233852691173593346
+```
+
+Supported hashes are fnv1_32, fnv1_64, fnv1a_32, and fnv1a_64.
+
+There are other implementations but they use C.
+
+Test cases were taken from [here](http://www.isthe.com/chongo/src/fnv/test_fnv.c).
Please sign in to comment.
Something went wrong with that request. Please try again.