{
  "id": "2025/1262",
  "url": "https://opencryptology.org/2025/1262",
  "original_url": "https://eprint.iacr.org/2025/1262",
  "title": "Vectorised Hashing Based on Bernstein-Rabin-Winograd Polynomials over Prime Order Fields",
  "authors": [
    "Kaushik Nath",
    "Palash Sarkar"
  ],
  "affiliations": null,
  "abstract": "We introduce the new AXU hash function decBRWHash, which is parameterised by the positive integer $c$ and is based on Bernstein-Rabin-Winograd (BRW) polynomials. Choosing $c>1$ gives a hash function which can be implemented using $c$-way single instruction multiple data (SIMD) instructions. We report a set of very comprehensive hand optimised assembly implementations of 4-decBRWHash using avx2 SIMD instructions available on modern Intel processors. For comparison, we also report similar carefully optimised  avx2 assembly implementations of polyHash, an AXU hash function based on usual polynomials. Our implementations are over prime order fields, specifically the primes $2^{127}-1$ and $2^{130}-5$.  For the prime $2^{130}-5$, for avx2 implementations, compared to the famous Poly1305 hash function, 4-decBRWHash is faster for messages which are a few hundred bytes long and achieves a speed-up of about 16% for message lengths in a few kilobytes range and improves to a speed-up of about 23% for message lengths in a few megabytes range.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Vectorised Hashing Based on Bernstein-Rabin-Winograd Polynomials over Prime Order Fields” by Kaushik Nath, Palash Sarkar, Cryptology ePrint Archive, Paper 2025/1262, https://eprint.iacr.org/2025/1262. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-07-08T15:53:37Z",
    "updated": "2026-11-15T12:31:33Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1262.pdf",
    "sha256": "3b10dd71f504004f0bd8a67a7824e22b57c18ab38da0e7c6302ed501d1a9246a",
    "size": 613045,
    "source": "upload",
    "source_date": "2026-11-15T16:37:06.070Z",
    "maybe_stale": false,
    "newer_on_eprint": false,
    "eprint_size": 613045,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1262/versions/20261115T163706Z.pdf",
      "captured_at": "2026-11-15T16:37:06.070Z",
      "label": "copy captured 2026-11-15",
      "source": "upload",
      "source_url": null,
      "size": 613045,
      "sha256": "3b10dd71f504004f0bd8a67a7824e22b57c18ab38da0e7c6302ed501d1a9246a",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/1262/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1262.pdf",
      "size": 446049,
      "sha256": "89d45637471252f474b875990898f20dc8d1609975f75012c4e0a69374b8ad46",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2025/1262/versions/20250711T235513Z.pdf",
      "captured_at": "2025-07-11T23:55:13Z",
      "label": "copy captured 2025-07-11",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250711235513id_/https://eprint.iacr.org/2025/1262.pdf",
      "size": 444980,
      "sha256": "0d554f7bafdb20c74b23dbd9ac6228f37e1444fa4bfd8ce5692858cf4c6f49f4",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1262.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 446049
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260104173008id_/https://eprint.iacr.org/2025/1262.pdf",
      "captured_at": "2026-01-04T17:30:08Z",
      "size": 446969
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1262,\n      author = {Kaushik Nath and Palash Sarkar},\n      title = {Vectorised Hashing Based on Bernstein-Rabin-Winograd Polynomials over Prime Order Fields},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1262},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1262}\n}"
}
