Currently implements the 32 & 64 bit versions of the hash.
Source: IETF draft-eastlake-fnv-19.txt
run ./fnv1a
to test:
[PASSED] Test fnv1a32("") => 811c9dc5
[PASSED] Test fnv1a32("a") => e40c292c
[PASSED] Test fnv1a32("foobar") => bf9cf968
[PASSED] Test fnv1a64("") => cbf29ce484222325
[PASSED] Test fnv1a64("a") => af63dc4c8601ec8c
[PASSED] Test fnv1a64("foobar") => 85944171f73967e8
Ron Shabi