{
  "id": "2024/085",
  "url": "https://opencryptology.org/2024/085",
  "original_url": "https://eprint.iacr.org/2024/085",
  "title": "Simultaneously simple universal and indifferentiable hashing to elliptic curves",
  "authors": [
    "Dimitri Koshelev"
  ],
  "affiliations": null,
  "abstract": "The present article explains how to generalize the hash function SwiftEC (in an elementary quasi-unified way) to any elliptic curve $E$ over any finite field $\\mathbb{F}_{\\!q}$ of characteristic $> 3$. The new result apparently brings the theory of hash functions onto elliptic curves to its logical conclusion. To be more precise, this article provides compact formulas that define a hash function $\\{0,1\\}^* \\to E(\\mathbb{F}_{\\!q})$ (deterministic and indifferentible from a random oracle) with the same working principle as SwiftEC. In particular, both of them equally compute only one square root in $\\mathbb{F}_{\\!q}$ (in addition to two cheap Legendre symbols). However, the new hash function is valid with much more liberal conditions than SwiftEC, namely when $3 \\mid q-1$. Since in the opposite case $3 \\mid q-2$ there are already indifferentiable constant-time hash functions to $E$ with the cost of one root in $\\mathbb{F}_{\\!q}$, this case is not processed in the article. If desired, its approach nonetheless allows to easily do that mutatis mutandis.",
  "category": "Implementation",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“Simultaneously simple universal and indifferentiable hashing to elliptic curves” by Dimitri Koshelev, Cryptology ePrint Archive, Paper 2024/085, https://eprint.iacr.org/2024/085. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-01-18T20:16:20Z",
    "updated": "2025-05-06T15:08:03Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/085.pdf",
    "sha256": "594c78c24acb8377bfd5f7c27a08b2cc1583d67a10155432f7774abfca14f726",
    "size": 397732,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/085/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/2024/085.pdf",
      "size": 397732,
      "sha256": "594c78c24acb8377bfd5f7c27a08b2cc1583d67a10155432f7774abfca14f726",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/085/versions/20240119T082754Z.pdf",
      "captured_at": "2024-01-19T08:27:54Z",
      "label": "copy captured 2024-01-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240119082754id_/https://eprint.iacr.org/2024/085.pdf",
      "size": 349101,
      "sha256": "eb3dced4d3e0c593169f9c5a8877238b779e011c46e6e20239e5108e7f263898",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260903012958id_/https://eprint.iacr.org/2024/085.pdf",
      "captured_at": "2026-09-03T01:29:58Z",
      "size": 397443
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/085.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 397732
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/085,\n      author = {Dimitri Koshelev},\n      title = {Simultaneously simple universal and indifferentiable hashing to elliptic curves},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/085},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/085}\n}"
}
