{
  "id": "2020/183",
  "url": "https://opencryptology.org/2020/183",
  "original_url": "https://eprint.iacr.org/2020/183",
  "title": "A note on secure multiparty computation via higher residue symbols",
  "authors": [
    "Ignacio Cascudo",
    "Reto Schnyder"
  ],
  "affiliations": null,
  "abstract": "We generalize a protocol by Yu for comparing two integers with relatively small difference in a secure multiparty computation setting. Yu's protocol is based on the Legendre symbol. A prime number $p$ is found for which the Legendre symbol $(\\cdot \\mid p)$ agrees with the sign function for integers in a certain range $\\{-N, \\ldots, N\\} \\subset \\mathbb{Z}$. This can then be computed efficiently.\n\nWe generalize this idea to higher residue symbols in cyclotomic rings $\\mathbb{Z}[\\zeta_r]$ for $r$ a small odd prime. We present a way to determine a prime number $p$ such that the $r$-th residue symbol $(\\cdot \\mid p)_r$ agrees with a desired function $f\\colon A \\to \\{\\zeta_r^0, \\ldots, \\zeta_r^{r - 1}\\}$ on a given small subset $A \\subset \\mathbb{Z}[\\zeta_r]$, when this is possible. We also explain how to efficiently compute the $r$-th residue symbol in a secret shared setting.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A note on secure multiparty computation via higher residue symbols” by Ignacio Cascudo, Reto Schnyder, Cryptology ePrint Archive, Paper 2020/183, https://eprint.iacr.org/2020/183. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-02-18T09:02:39Z",
    "updated": "2021-03-02T09:11:34Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/183.pdf",
    "sha256": "eddd9f2ae57f59007b4598e345ca78751d636377204f97fe0d742ea8133bbebb",
    "size": 522544,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/183/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/2020/183.pdf",
      "size": 522544,
      "sha256": "eddd9f2ae57f59007b4598e345ca78751d636377204f97fe0d742ea8133bbebb",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/183.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 522544
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260106200700id_/https://eprint.iacr.org/2020/183.pdf",
      "captured_at": "2026-01-06T20:07:00Z",
      "size": 489268
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/183,\n      author = {Ignacio Cascudo and Reto Schnyder},\n      title = {A note on secure multiparty computation via higher residue symbols},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/183},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/183}\n}"
}
