Expand description
Jenkins hashlittle2 hash function and WoW file path hashing. Jenkins hashlittle2 hash and WoW file path hashing.
CASC root files optionally store a 64-bit name hash for each entry,
computed using Bob Jenkins’ hashlittle2 (lookup3) algorithm over the
normalized (uppercased, backslash-separated) file path. The
hashpath function performs this normalization and returns the
combined 64-bit hash used by the game client.
Functions§
- hashlittle2
- Bob Jenkins’ lookup3 hashlittle2 function. Returns (pc, pb) hash pair.
- hashpath
- Hash a file path using Jenkins96, normalizing to uppercase with backslashes.