Skip to main content

Non-cryptographic hash calculator

Compute FNV-1a, DJB2, CRC-32, Adler-32, SDBM, and more - useful for hash maps, checksums, and learning.

fnv1a-32FNV-1a 32-bit - fast, good distribution, popular in hash maps32-bit
0xd58b3fa73582672807
fnv1a-64FNV-1a 64-bit - better collision resistance for longer strings64-bit
0x779a65e7023cd2e78618312879776256743
djb2DJB2 - Daniel Bernstein's classic, simple and fast32-bit
0x3551c8c1894552257
djb2aDJB2a - XOR variant of DJB2, slightly better distribution32-bit
0xf8c653454173747013
crc32CRC-32 - error-detection checksum, table-based polynomial32-bit
0x0d4a1185222957957
adler32Adler-32 - faster than CRC-32, used in zlib/PNG32-bit
0x1a0b045d436929629
sdbmSDBM - good hash for strings, used in gawk32-bit
0x19ae84c4430867652
lose-loselose-lose - trivial character sum; poor, shown for education32-bit
0x0000045c1116

These are non-cryptographic hashes - do not use for security or password hashing. For cryptographic hashes use SHA-256 or SHA-512.