{
  "id": "2023/634",
  "url": "https://opencryptology.org/2023/634",
  "original_url": "https://eprint.iacr.org/2023/634",
  "title": "Polynomial Hashing over Prime Order Fields",
  "authors": [
    "Sreyosi Bhattacharyya",
    "Kaushik Nath",
    "Palash Sarkar"
  ],
  "affiliations": null,
  "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%.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Polynomial Hashing over Prime Order Fields” by Sreyosi Bhattacharyya, Kaushik Nath, Palash Sarkar, Cryptology ePrint Archive, Paper 2023/634, https://eprint.iacr.org/2023/634. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-05-04T05:05:34Z",
    "updated": "2023-10-29T10:47:35Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/634.pdf",
    "sha256": "06824ae1978e29e1ade232ae21acdc5af50a7e0f91a62c8a0ccb1e3733289ea9",
    "size": 525457,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/634/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/634.pdf",
      "size": 525457,
      "sha256": "06824ae1978e29e1ade232ae21acdc5af50a7e0f91a62c8a0ccb1e3733289ea9",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/634/versions/20230508T065513Z.pdf",
      "captured_at": "2023-05-08T06:55:13Z",
      "label": "copy captured 2023-05-08",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230508065513id_/https://eprint.iacr.org/2023/634.pdf",
      "size": 519626,
      "sha256": "8d0e2ad81359324b4961be99971c731f9fb126b820ec51b840f663d3b7ce492f",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260310084927id_/https://eprint.iacr.org/2023/634.pdf",
      "captured_at": "2026-03-10T08:49:27Z",
      "size": 526765
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/634.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 525457
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/634,\n      author = {Sreyosi Bhattacharyya and Kaushik Nath and Palash Sarkar},\n      title = {Polynomial Hashing over Prime Order Fields},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/634},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/634}\n}"
}
