Hawkynt

MurmurHash3

Fast non-cryptographic hash function with excellent distribution properties. Designed for hash tables, bloom filters, and general purpose hashing.

Properties

Property Value
Category Hash Functions
Sub-category Fast Hash
Security status πŸŽ“ Educational Only
Complexity Not specified
Inventor Austin Appleby
Year 2008
Origin πŸ‡ΊπŸ‡Έ United States
Source algorithms/hash/murmurhash3.js

Parameters

Parameter Supported values
Output sizes 4 bytes (32 bits)

Security

Status: πŸŽ“ Educational Only

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 β€” MurmurHash3 Empty String

Field Value
input (empty)
expected 00000000

Vector 2 β€” MurmurHash3 Single character β€˜a’

Field Value
input 61
expected 3c2569b2

Vector 3 β€” MurmurHash3 Short string β€˜abc’

Field Value
input 616263
expected b3dd93fa

← All algorithms