{
  "id": "2020/1301",
  "url": "https://opencryptology.org/2020/1301",
  "original_url": "https://eprint.iacr.org/2020/1301",
  "title": "Robust Property-Preserving Hash Functions for Hamming Distance and More",
  "authors": [
    "Nils Fleischhacker",
    "Mark Simkin"
  ],
  "affiliations": null,
  "abstract": "Robust property-preserving hash (PPH) functions, recently introduced by Boyle, Lavigne, and Vaikuntanathan [ITCS 2019], compress large inputs $x$ and $y$ into short digests $h(x)$ and $h(y)$ in a manner that allows for computing a predicate $P$ on $x$ and $y$ while only having access to the corresponding hash values. In contrast to locality-sensitive hash functions, a robust PPH function guarantees to correctly evaluate a predicate on $h(x)$ and $h(y)$ even if $x$ and $y$ are chosen adversarially after seeing $h$.\n\nOur main result is a robust PPH function for the exact hamming distance predicate\n$$\\mathsf{HAM}^t(x, y) = \\begin{cases}1 &\\text{if } d( x, y) \\geq t \\\\0 & \\text{Otherwise}\\\\\\end{cases}$$\nwhere $d(x, y)$ is the hamming-distance between $x$ and $y$.\nOur PPH function compresses $n$-bit strings into $\\mathcal{O}(t \\lambda)$-bit digests, where $\\lambda$ is the security parameter.\nThe construction is based on the q-strong bilinear discrete logarithm assumption.\n\nAlong the way, we construct a robust PPH function for the set intersection predicate\n$$\n\\mathsf{INT}^t(X, Y) =\n\\begin{cases}\n1 &\\text{if } \\vert X \\cap Y\\vert > n - t \\\\\n0 & \\text{Otherwise}\\\\\n\\end{cases}\n$$\nwhich compresses sets $X$ and $Y$ of size $n$ with elements from some arbitrary universe $U$ into $\\mathcal{O}(t\\lambda)$-bit long digests.\nThis PPH function may be of independent interest.\nWe present an almost matching lower bound of $\\Omega(t \\log t)$ on the digest size of any PPH function for the intersection predicate, which indicates that our compression rate is close to optimal.\nFinally, we also show how to extend our PPH function for the intersection predicate to more than two inputs.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Robust Property-Preserving Hash Functions for Hamming Distance and More” by Nils Fleischhacker, Mark Simkin, Cryptology ePrint Archive, Paper 2020/1301, https://eprint.iacr.org/2020/1301. 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-10-19T07:38:19Z",
    "updated": "2020-10-19T16:36:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/1301.pdf",
    "sha256": "f59971dddd441714f5ac316ec119f406031be12efa74cffefb2ed753c6ce7dac",
    "size": 486431,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/1301/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1301.pdf",
      "size": 486431,
      "sha256": "f59971dddd441714f5ac316ec119f406031be12efa74cffefb2ed753c6ce7dac",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251212025646id_/https://eprint.iacr.org/2020/1301.pdf",
      "captured_at": "2025-12-12T02:56:46Z",
      "size": 487356
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1301.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 486431
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/1301,\n      author = {Nils Fleischhacker and Mark Simkin},\n      title = {Robust Property-Preserving Hash Functions for Hamming Distance and More},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1301},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/1301}\n}"
}
