HalftimeHash: Modern Hashing without 64-bit Multipliers or Finite Fields

Jim Apple
4/18/2021
cs.DS

Official code: jbapple/HalftimeHash (13 stars, TeX, Apache-2.0, last commit 2025-03-08).

Abstract

HalftimeHash is a new algorithm for hashing long strings. The goals are few collisions (different inputs that produce identical output hash values) and high performance.

Show full abstract

Compared to the fastest universal hash functions on long strings (clhash and UMASH) HalftimeHash decreases collision probability while also increasing performance by over 50%, exceeding 16 bytes per cycle. In addition, HalftimeHash does not use any widening 64-bit multiplications or any finite field arithmetic that could limit its portability.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

HalftimeHash is designed to hash long input very fast

132TeX, C++Dec 16, 20201 years agoApache-2.0

Similar Papers

Cite this paper

@article{apple2021halftimehash,
  title  = {HalftimeHash: Modern Hashing without 64-bit Multipliers or Finite Fields},
  author = {Jim Apple},
  year   = {2021},
  eprint = {2104.08865},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.08865}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.08865.svg)](https://codeofpaper.com/paper/2104.08865)

Discussion