{
  "id": "2022/759",
  "url": "https://opencryptology.org/2022/759",
  "original_url": "https://eprint.iacr.org/2022/759",
  "title": "SwiftEC: Shallue–van de Woestijne Indifferentiable Function To Elliptic Curves",
  "authors": [
    "Jorge Chávez-Saab",
    "Francisco Rodrı́guez-Henrı́quez",
    "Mehdi Tibouchi"
  ],
  "affiliations": null,
  "abstract": "Hashing arbitrary values to points on an elliptic curve is a required step in many cryptographic constructions, and a number of techniques have been proposed to do so over the years. One of the first ones was due to Shallue and van de Woestijne (ANTS-VII), and it had the interesting property of applying to essentially all elliptic curves over finite fields. It did not, however, have the desirable property of being indifferentiable from a random oracle when composed with a random oracle to the base field.\n\nVarious approaches have since been considered to overcome this limitation, starting with the foundational work of Brier et al. (CRYPTO 2011). For example, if $f\\colon \\mathbb{F}_q\\to E(\\mathbb{F}_q)$ is the Shallue--van de Woestijne (SW) map and $\\mathfrak{h}_1,\\mathfrak{h}_2$ are two independent random oracles to $\\mathbb{F}_q$, we now know that $m\\mapsto f\\big(\\mathfrak{h}_1(m)\\big)+f\\big(\\mathfrak{h}_2(m)\\big)$ is indifferentiable from a random oracle. Unfortunately, this approach has the drawback of being twice as expensive to compute than the straightforward, but not indifferentiable, $m\\mapsto f\\big(\\mathfrak{h}_1(m)\\big)$. Most other solutions so far have had the same issue: they are at least as costly as two base field exponentiations, whereas plain encoding maps like $f$ cost only one exponentiation. Recently, Koshelev (DCC 2022) provided the first construction of indifferentiable hashing at the cost of one exponentiation, but only for a very specific class of curves (some of those with $j$-invariant $0$), and using techniques that are unlikely to apply more broadly.\n\nIn this work, we revisit this long-standing open problem, and observe that the SW map actually fits in a one-parameter family $(f_u)_{u\\in\\mathbb{F}_q}$ of encodings, such that for independent random oracles $\\mathfrak{h}_1, \\mathfrak{h}_2$ to $\\mathbb{F}_q$, $F\\colon m\\mapsto f_{\\mathfrak{h}_2(m)}\\big(\\mathfrak{h}_1(m)\\big)$ is indifferentiable. Moreover, on a very large class of curves (essentially those that are either of odd order or of order divisible by 4), the one-parameter family admits a rational parametrization, which let us compute $F$ at almost the same cost as small $f$, and finally achieve indifferentiable hashing to most curves with a single exponentiation.\n\nOur new approach also yields an improved variant of the Elligator Squared technique of Tibouchi (FC 2014) that represents points of arbitrary elliptic curves as close-to-uniform random strings.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“SwiftEC: Shallue–van de Woestijne Indifferentiable Function To Elliptic Curves” by Jorge Chávez-Saab, Francisco Rodrı́guez-Henrı́quez, Mehdi Tibouchi, Cryptology ePrint Archive, Paper 2022/759, https://eprint.iacr.org/2022/759. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-06-14T08:12:49Z",
    "updated": "2024-11-14T21:20:48Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/759.pdf",
    "sha256": "ca986d69c69052d26769f0d9b2b4e379e9983ab4679b65b8da36f82ee8dc83cb",
    "size": 630859,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/759/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/2022/759.pdf",
      "size": 630859,
      "sha256": "ca986d69c69052d26769f0d9b2b4e379e9983ab4679b65b8da36f82ee8dc83cb",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/759/versions/20220926T042135Z.pdf",
      "captured_at": "2022-09-26T04:21:35Z",
      "label": "copy captured 2022-09-26",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220926042135id_/https://eprint.iacr.org/2022/759.pdf",
      "size": 557109,
      "sha256": "1aaa25b942593e68a43e2283a70b605d1cd26d605a6efcf377c096cc4ecdec5f",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/759/versions/20220616T114246Z.pdf",
      "captured_at": "2022-06-16T11:42:46Z",
      "label": "copy captured 2022-06-16",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220616114246id_/https://eprint.iacr.org/2022/759.pdf",
      "size": 462096,
      "sha256": "4a3d809599fb7a8039ed4f7710d49acc338b1dae4b1ea4983ad978f78f767ab6",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260605010133id_/https://eprint.iacr.org/2022/759.pdf",
      "captured_at": "2026-06-05T01:01:33Z",
      "size": 555922
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/759.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 630859
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/759,\n      author = {Jorge Chávez-Saab and Francisco Rodrı́guez-Henrı́quez and Mehdi Tibouchi},\n      title = {SwiftEC: Shallue–van de Woestijne Indifferentiable Function To Elliptic Curves},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/759},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/759}\n}"
}
