FNV Hash Generator
Generate FNV-1 and FNV-1a hash values, supporting 32-bit, 52-bit and 64-bit variants, non-cryptographic hash function
Enter text directly, will be processed as UTF-8
About FNV Hash
What is FNV Hash?
FNV (Fowler-Noll-Vo) is a non-cryptographic hash function created by Glenn Fowler, Landon Curt Noll, and Kiem-Phong Vo. First published in 1991, it is known for its simplicity, speed, and good distribution characteristics. FNV is widely used for hash tables, checksums, and data fingerprinting.
Algorithm Variants
- FNV-1a: Improved variant that XORs the byte with the hash first, then multiplies. Recommended for most use cases due to better avalanche characteristics.
- FNV-1: Original variant that multiplies first, then XORs. Still useful but FNV-1a is generally preferred.
Available Bit Lengths
- 32-bit: 8-character hex output. Fast and suitable for hash tables with moderate data volumes.
- 52-bit: 13-character hex output. Optimized for JavaScript's 53-bit safe integer range. Good balance between speed and collision resistance.
- 64-bit: 16-character hex output. Larger hash space, reducing collision probability in large datasets.
Common Use Cases
- Hash tables and hash maps for fast key lookups
- Data deduplication and content fingerprinting
- Checksum verification for data integrity
- Bloom filters and probabilistic data structures
FNV hash is NOT cryptographically secure. Do not use it for passwords, digital signatures, or security-sensitive applications. Use SHA-256 or BLAKE2 for cryptographic purposes.