Purple  0.1
Standard Language Specification
hash.h
Go to the documentation of this file.
1
8#ifndef HASH_H
9#define HASH_H
10
12#define FNV_OFFSET_BASIS 0xCBF29CE484222325
14#define FNV_PRIME 0x100000001B3
15
16unsigned long int FNV_1(char* str);
17
18#endif /* HASH_H */
unsigned long int FNV_1(char *str)
FNV-1 String hashing algorithm as defined here: https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%...
Definition: hash.c:16