ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
fnv1a.h File Reference

#️⃣ FNV-1a Hash Function Implementation More...

Go to the source code of this file.

Macros

#define FNV1A_32_OFFSET_BASIS   2166136261ULL
 FNV-1a 32-bit offset basis.
 
#define FNV1A_32_PRIME   16777619ULL
 FNV-1a 32-bit prime.
 
#define FNV1A_32_MASK   0xFFFFFFFFULL
 FNV-1a 32-bit mask.
 
#define FNV1A_INIT(hash)   uint64_t hash = FNV1A_32_OFFSET_BASIS;
 FNV-1a 32-bit hash macro.
 
#define FNV1A_32_HASH(hash, byte)
 FNV-1a 32-bit hash macro for a single byte.
 

Detailed Description

#️⃣ FNV-1a Hash Function Implementation

Definition in file fnv1a.h.