{
  "id": "2017/863",
  "url": "https://opencryptology.org/2017/863",
  "original_url": "https://eprint.iacr.org/2017/863",
  "title": "The Minimum Number of Cards in Practical Card-based Protocols",
  "authors": [
    "Julia Kastner",
    "Alexander Koch",
    "Stefan Walzer",
    "Daiki Miyahara",
    "Yu-ichi Hayashi",
    "Takaaki Mizuki",
    "Hideaki Sone"
  ],
  "affiliations": null,
  "abstract": "The elegant “five-card trick” of den Boer (EUROCRYPT 1989) allows two players to securely compute a logical AND of two private bits, using five playing cards of symbols $\\heartsuit$ and $\\clubsuit$. Since then, card-based protocols have been successfully put to use in classroom environments, vividly illustrating secure multiparty computation – and evoked research on the minimum number of cards needed for several functionalities.\n\nSecurely computing arbitrary circuits needs protocols for negation, AND and bit copy in committed-format, where outputs are commitments again. Negation just swaps the bit's cards, computing AND and copying a bit $n$ times can be done with six and $2n+2$ cards, respectively, using the simple protocols of Mizuki and Sone (FAW 2009).\n\nKoch, Walzer and Härtel (ASIACRYPT 2015) showed that five cards suffice for computing AND in finite runtime, albeit using relatively complex and unpractical shuffle operations. In this paper, we show that if we restrict shuffling to closed permutation sets, the six-card protocol is optimal in the finite-runtime setting. If we additionally assume a uniform distribution on the permutations in a shuffle, we show that restart-free four-card AND protocols are impossible. These shuffles are easy to perform even in an actively secure manner (Koch and Walzer, ePrint 2017).\n\nFor copying bit commitments, the protocol of Nishimura et al. (ePrint 2017) needs only $2n+1$ cards, but performs a number of complex shuffling steps that is only finite in expectation. We show that it is impossible to go with less cards. If we require an a priori bound on the runtime, we show that the $(2n+2)$-card protocol is card-minimal.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“The Minimum Number of Cards in Practical Card-based Protocols” by Julia Kastner, Alexander Koch, Stefan Walzer, Daiki Miyahara, Yu-ichi Hayashi, Takaaki Mizuki, Hideaki Sone, Cryptology ePrint Archive, Paper 2017/863, https://eprint.iacr.org/2017/863. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-09-11T13:18:23Z",
    "updated": "2017-09-12T01:17:08Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/863.pdf",
    "sha256": "be1b372b80ffe1a71318f5d3bd6bee5ac61eb467b0ccfcc3a6a49ddfc9896bf0",
    "size": 834010,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:41:11Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/863/versions/20190225T174111Z.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/863.pdf",
      "size": 834010,
      "sha256": "be1b372b80ffe1a71318f5d3bd6bee5ac61eb467b0ccfcc3a6a49ddfc9896bf0",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260108105515id_/https://eprint.iacr.org/2017/863.pdf",
      "captured_at": "2026-01-08T10:55:15Z",
      "size": 727442
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/863.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 834010
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/863,\n      author = {Julia Kastner and Alexander Koch and Stefan Walzer and Daiki Miyahara and Yu-ichi Hayashi and Takaaki Mizuki and Hideaki Sone},\n      title = {The Minimum Number of Cards in Practical Card-based Protocols},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/863},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/863}\n}"
}
