English

The universality of iterated hashing over variable-length strings

Databases 2012-01-27 v5 Data Structures and Algorithms

Abstract

Iterated hash functions process strings recursively, one character at a time. At each iteration, they compute a new hash value from the preceding hash value and the next character. We prove that iterated hashing can be pairwise independent, but never 3-wise independent. We show that it can be almost universal over strings much longer than the number of hash values; we bound the maximal string length given the collision probability.

Keywords

Cite

@article{arxiv.1008.1715,
  title  = {The universality of iterated hashing over variable-length strings},
  author = {Daniel Lemire},
  journal= {arXiv preprint arXiv:1008.1715},
  year   = {2012}
}
R2 v1 2026-06-21T15:59:02.841Z