Polynomial hashing over prime order fields
Sreyosi Bhattacharyya,Indian Statistical Institute, Kolkata, India,Kaushik Nath,Palash Sarkar
DOI: https://doi.org/10.3934/amc.2024001
2024-01-18
Advances in Mathematics of Communications
Abstract:This paper makes a comprehensive study of two important strategies for polynomial hashing over a prime order field , 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 and . 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 is significantly faster than using the prime . 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 is much faster than the well known Poly1305 hash function defined over the prime , achieving speed improvements of up to 40%.
computer science, theory & methods,mathematics, applied