![]() |
Purple
0.1
Standard Language Specification
|
Function headers and definitions for hashing algorithms. More...

Go to the source code of this file.
Macros | |
| #define | FNV_OFFSET_BASIS 0xCBF29CE484222325 |
| #define | FNV_PRIME 0x100000001B3 |
Functions | |
| 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%80%93Vo_hash_function#FNV-1_hash. More... | |
Function headers and definitions for hashing algorithms.
| #define FNV_OFFSET_BASIS 0xCBF29CE484222325 |
Offset basis for FNV-1 algorithm
| #define FNV_PRIME 0x100000001B3 |
Prime number for FNV-1 algorithm
| 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%80%93Vo_hash_function#FNV-1_hash.
| str | String to be hashed |