{
  "id": "2019/403",
  "url": "https://opencryptology.org/2019/403",
  "original_url": "https://eprint.iacr.org/2019/403",
  "title": "Fast and simple constant-time hashing to the BLS12-381 elliptic curve",
  "authors": [
    "Riad S. Wahby",
    "Dan Boneh"
  ],
  "affiliations": null,
  "abstract": "Pairing-friendly elliptic curves in the Barreto-Lynn-Scott family are seeing\na resurgence in popularity because of the recent result of Kim and Barbulescu\nthat improves attacks against other pairing-friendly curve families.  One\nparticular Barreto-Lynn-Scott curve, called BLS12-381, is the locus of\nsignificant development and deployment effort, especially in blockchain\napplications.  This effort has sparked interest in using the BLS12-381 curve\nfor BLS signatures, which requires hashing to one of the groups of the bilinear\npairing defined by BLS12-381.\n\nWhile there is a substantial body of literature on the problem of hashing\nto elliptic curves, much of this work does not apply to Barreto-Lynn-Scott\ncurves.  Moreover, the work that does apply has the unfortunate property\nthat fast implementations are complex, while simple implementations are slow.\n\nIn this work, we address these issues.  First, we show a straightforward way\nof adapting the ``simplified SWU'' map of Brier et al. to BLS12-381.  Second,\nwe describe optimizations to this map that both simplify its implementation\nand improve its performance; these optimizations may be of interest in other\ncontexts.  Third, we implement and evaluate.  We find that our work yields\nconstant-time hash functions that are simple to implement, yet perform within\n9% of the fastest, non--constant-time alternatives, which require much more\ncomplex implementations.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Fast and simple constant-time hashing to the BLS12-381 elliptic curve” by Riad S. Wahby, Dan Boneh, Cryptology ePrint Archive, Paper 2019/403, https://eprint.iacr.org/2019/403. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2019-04-22T18:38:43Z",
    "updated": "2019-09-30T17:26:55Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2019/403.pdf",
    "sha256": "501230cddecd3934f82549fe6e4378828c671331dcc606995cc1d9235fe133d8",
    "size": 629241,
    "source": "github-mirror",
    "source_date": "2020-04-17T10:36:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2019/403/versions/20200417T103614Z.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "label": "copy captured 2020-04-17",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/403.pdf",
      "size": 629241,
      "sha256": "501230cddecd3934f82549fe6e4378828c671331dcc606995cc1d9235fe133d8",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2019/403/versions/20190516T213513Z.pdf",
      "captured_at": "2019-05-16T21:35:13Z",
      "label": "copy captured 2019-05-16",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20190516213513id_/https://eprint.iacr.org/2019/403.pdf",
      "size": 602451,
      "sha256": "908b66048d88a30570b98978db3abb161886d56b56de9c8c60c182c3fe7a26a7",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260823101900id_/https://eprint.iacr.org/2019/403.pdf",
      "captured_at": "2026-08-23T10:19:00Z",
      "size": 620438
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/403.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 629241
    }
  ],
  "bibtex": "@misc{cryptoeprint:2019/403,\n      author = {Riad S. Wahby and Dan Boneh},\n      title = {Fast and simple constant-time hashing to the BLS12-381 elliptic curve},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2019/403},\n      year = {2019},\n      url = {https://eprint.iacr.org/2019/403}\n}"
}
