JOURNAL ARTICLE

Polynomial hashing over prime order fields

Sreyosi BhattacharyyaKaushik NathPalash Sarkar

Year: 2024 Journal:   Advances in Mathematics of Communications Vol: 19 (1)Pages: 337-378   Publisher: American Institute of Mathematical Sciences

Abstract

This paper makes a comprehensive study of two important strategies for polynomial hashing over a prime order field $ \mathbb{F}_p $, namely usual polynomial based hashing and hashing based on Bernstein-Rabin-Winograd (BRW) polynomials, and the various ways to combine them. Several hash functions are proposed and upper bounds on their differential probabilities are derived. Concrete instantiations are provided for the primes $ p = 2^{127}-1 $ and $ p = 2^{130}-5 $. A major contribution of the paper is an extensive 64-bit implementation of all the proposed hash functions in assembly targeted at modern Intel processors. The timing results suggest that using the prime $ 2^{127}-1 $ is significantly faster than using the prime $ 2^{130}-5 $. Further, a judicious mix of the usual polynomial based hashing and BRW-polynomial based hashing can provide a significantly faster alternative to only usual polynomial based hashing. In particular, the timing results of our implementations show that our final hash function proposal for the prime $ 2^{127}-1 $ is much faster than the well known Poly1305 hash function defined over the prime $ 2^{130}-5 $, achieving speed improvements of up to 40%.

Keywords:
Hash function Mathematics Universal hashing Prime (order theory) Polynomial Dynamic perfect hashing K-independent hashing Discrete mathematics Combinatorics Hash table Prime number Perfect hash function Double hashing Computer science

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
16
Refs
0.01
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Coding theory and cryptography
Physical Sciences →  Computer Science →  Artificial Intelligence
Cryptographic Implementations and Security
Physical Sciences →  Computer Science →  Artificial Intelligence
Chaos-based Image/Signal Encryption
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition

Related Documents

JOURNAL ARTICLE

Explicit polynomial bounds on prime ideals in polynomial rings over fields

William SimmonsHenry Towsner

Journal:   Pacific Journal of Mathematics Year: 2020 Vol: 306 (2)Pages: 721-754
JOURNAL ARTICLE

Counting homomorphisms over fields of prime order

Lagodzinski, Julius Albert Gregor

Journal:   publish.UP (University of Potsdam) Year: 2024
BOOK-CHAPTER

Kummer for Genus One over Prime Order Fields

Sabyasachi KaratiPalash Sarkar

Lecture notes in computer science Year: 2017 Pages: 3-32
JOURNAL ARTICLE

Polynomial invariants of finite groups over fields of prime characteristics

С. А. Степанов

Journal:   Discrete Mathematics and Applications Year: 1999 Vol: 9 (4)
© 2026 ScienceGate Book Chapters — All rights reserved.