{
  "id": "2023/390",
  "url": "https://opencryptology.org/2023/390",
  "original_url": "https://eprint.iacr.org/2023/390",
  "title": "Hashing to elliptic curves through Cipolla–Lehmer–Müller’s square root algorithm",
  "authors": [
    "Dmitrii Koshelev"
  ],
  "affiliations": null,
  "abstract": "The present article provides a novel hash function $\\mathcal{H}$ to any elliptic curve of $j$-invariant $\\neq 0, 1728$ over a finite field $\\mathbb{F}_{\\!q}$ of large characteristic. The unique bottleneck of $\\mathcal{H}$ consists in extracting a square root in $\\mathbb{F}_{\\!q}$ as well as for most hash functions. However, $\\mathcal{H}$ is designed in such a way that the root can be found by (Cipolla--Lehmer--)Müller's algorithm in constant time. Violation of this security condition is known to be the only obstacle to applying the given algorithm in the cryptographic context. When the field $\\mathbb{F}_{\\!q}$ is highly $2$-adic and $q \\equiv 1 \\ (\\mathrm{mod} \\ 3)$, the new batching technique is the state-of-the-art hashing solution except for some sporadic curves. Indeed, Müller's algorithm costs $\\approx 2\\log_2(q)$ multiplications in $\\mathbb{F}_{\\!q}$. In turn, original Tonelli--Shanks's square root algorithm and all of its subsequent modifications have the asymptotic complexity $\\Theta(\\log(q) + g(\\nu))$, where $\\nu$ is the $2$-adicity of $\\mathbb{F}_{\\!q}$ and a function $g(\\nu) \\neq O(\\nu)$. As an example, it is shown that Müller’s algorithm actually needs several times fewer multiplications in the field $\\mathbb{F}_{\\!q}$ (whose $\\nu = 96$) of the standardized curve NIST P-224.",
  "category": "Implementation",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“Hashing to elliptic curves through Cipolla–Lehmer–Müller’s square root algorithm” by Dmitrii Koshelev, Cryptology ePrint Archive, Paper 2023/390, https://eprint.iacr.org/2023/390. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-03-18T19:02:47Z",
    "updated": "2024-02-14T15:56:35Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/390.pdf",
    "sha256": "1aba8dd799256ee86ca3e08f5bdcaa7a3fc9cedb2b1d579495c479578f7c76b5",
    "size": 465199,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/390/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/2023/390.pdf",
      "size": 465199,
      "sha256": "1aba8dd799256ee86ca3e08f5bdcaa7a3fc9cedb2b1d579495c479578f7c76b5",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/390/versions/20231222T150430Z.pdf",
      "captured_at": "2023-12-22T15:04:30Z",
      "label": "copy captured 2023-12-22",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20231222150430id_/https://eprint.iacr.org/2023/390.pdf",
      "size": 465185,
      "sha256": "af4a2b018b2212d1f3c16c1cb3401890740e90ba5ed9cd2c2b3a4838d8b955fb",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2023/390/versions/20230326T012438Z.pdf",
      "captured_at": "2023-03-26T01:24:38Z",
      "label": "copy captured 2023-03-26",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230326012438id_/https://eprint.iacr.org/2023/390.pdf",
      "size": 410356,
      "sha256": "3056a2e4107bdf8e5c44c7df21f2d0e35fe559971eff0f8e27e50167ff5ec8f3",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/390.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 465199
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260311071406id_/https://eprint.iacr.org/2023/390.pdf",
      "captured_at": "2026-03-11T07:14:06Z",
      "size": 464338
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/390,\n      author = {Dmitrii Koshelev},\n      title = {Hashing to elliptic curves through Cipolla–Lehmer–Müller’s square root algorithm},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/390},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/390}\n}"
}
