{
  "id": "2022/433",
  "url": "https://opencryptology.org/2022/433",
  "original_url": "https://eprint.iacr.org/2022/433",
  "title": "McFly: Verifiable Encryption to the Future Made Practical",
  "authors": [
    "Nico Döttling",
    "Lucjan Hanzlik",
    "Bernardo Magri",
    "Stella Wohnig"
  ],
  "affiliations": null,
  "abstract": "Blockchain protocols have revolutionized the way individuals and devices can interact and transact over the internet. More recently, a trend has emerged to harness blockchain technology as a catalyst to enable advanced security features in distributed applications, in particular fairness. However, the tools employed to achieve these security features are either resource wasteful (e.g., time-lock primitives) or only efficient in theory (e.g., witness encryption). We present McFly, a protocol that allows one to efficiently ``encrypt a message to the future'' such that the receiver can decrypt the message almost effortlessly. Towards this goal, we design and implement a novel primitive we call signature-based witness encryption and combine it with a BFT blockchain (or a blockchain finality layer) in such a way that the decryption of the message can be piggybacked on the tasks already performed by the blockchain committee, resulting in almost-for-free decryption. To demonstrate the practicality of the McFly protocol, we implemented our signature-based witness encryption scheme and evaluated it on a standard laptop with Intel i7 @2,3 GHz. For the popular BLS12-381 curve, a $381$-bit message and a committee of size $500$ the encryption time is $9.8s$ and decryption is $14.8 s$. The scheme remains practical for a committee of size $2000$ with an encryption time of $58 s$ and decryption time of $218 s$.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“McFly: Verifiable Encryption to the Future Made Practical” by Nico Döttling, Lucjan Hanzlik, Bernardo Magri, Stella Wohnig, Cryptology ePrint Archive, Paper 2022/433, https://eprint.iacr.org/2022/433. 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-04-06T13:09:33Z",
    "updated": "2023-07-26T18:15:55Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/433.pdf",
    "sha256": "f543ce618c83f02317c33c651a50811cc97c540137a20b5226018260a95f4052",
    "size": 2041285,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/433/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/433.pdf",
      "size": 2041285,
      "sha256": "f543ce618c83f02317c33c651a50811cc97c540137a20b5226018260a95f4052",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/433/versions/20220406T134129Z.pdf",
      "captured_at": "2022-04-06T13:41:29Z",
      "label": "copy captured 2022-04-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220406134129id_/https://eprint.iacr.org/2022/433.pdf",
      "size": 1923122,
      "sha256": "f73dc70587ab4e3959e9cf83c555172de782c452aa0018d307fa9ef00dce9e7a",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260925150130id_/https://eprint.iacr.org/2022/433.pdf",
      "captured_at": "2026-09-25T15:01:30Z",
      "size": 1554233
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/433.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 2041285
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/433,\n      author = {Nico Döttling and Lucjan Hanzlik and Bernardo Magri and Stella Wohnig},\n      title = {McFly: Verifiable Encryption to the Future Made Practical},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/433},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/433}\n}"
}
