{
  "id": "2021/793",
  "url": "https://opencryptology.org/2021/793",
  "original_url": "https://eprint.iacr.org/2021/793",
  "title": "Property-Preserving Hash Functions for Hamming Distance from Standard Assumptions",
  "authors": [
    "Nils Fleischhacker",
    "Kasper Green Larsen",
    "Mark Simkin"
  ],
  "affiliations": null,
  "abstract": "Property-preserving hash functions allow for compressing long inputs $x_0$ and $x_1$ into short hashes $h(x_0)$ and $h(x_1)$ in a manner that allows for computing a predicate $P(x_0, x_1)$ given only the two hash values without having access to the original data. \nSuch hash functions are said to be adversarially robust if an adversary that gets to pick $x_0$ and $x_1$ after the hash function has been sampled, cannot find inputs for which the predicate evaluated on the hash values outputs the incorrect result.\n\nIn this work we construct robust property-preserving hash functions for the hamming-distance predicate which distinguishes inputs with a hamming distance at least some threshold $t$ from those with distance less than $t$. The security of the construction is based on standard lattice hardness assumptions.\n\nOur construction has several advantages over the best known previous construction by Fleischhacker and Simkin (Eurocrypt 2021).\nOur construction relies on a single well-studied hardness assumption from lattice cryptography whereas the previous work relied on a newly introduced family of computational hardness assumptions.\nIn terms of computational effort, our construction only requires a small number of modular additions per input bit, whereas the work of Fleischhacker and Simkin required several exponentiations per bit as well as the interpolation and evaluation of high-degree polynomials over large fields.\nAn additional benefit of our construction is that the description of the hash function can be compressed to $\\lambda$ bits assuming a random oracle.\nPrevious work has descriptions of length $\\mathcal{O}(\\ell \\lambda)$ bits for input bit-length $\\ell$.\n\nWe prove a lower bound on the output size of any property-preserving hash function for the hamming distance predicate.\nThe bound shows that the size of our hash value is not far from optimal.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Property-Preserving Hash Functions for Hamming Distance from Standard Assumptions” by Nils Fleischhacker, Kasper Green Larsen, Mark Simkin, Cryptology ePrint Archive, Paper 2021/793, https://eprint.iacr.org/2021/793. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-06-14T13:45:04Z",
    "updated": "2022-06-08T14:01:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/793.pdf",
    "sha256": "00c8100914b927816ed1e7dd8e60d41bb024ded39a35e925960316dd6ee65d9e",
    "size": 510863,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/793/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/793.pdf",
      "size": 510863,
      "sha256": "00c8100914b927816ed1e7dd8e60d41bb024ded39a35e925960316dd6ee65d9e",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/793/versions/20210725T182710Z.pdf",
      "captured_at": "2021-07-25T18:27:10Z",
      "label": "copy captured 2021-07-25",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210725182710id_/https://eprint.iacr.org/2021/793.pdf",
      "size": 374616,
      "sha256": "46f34630b8538c8ac92d7c30a6725c95d363005a15558beface25e1e8633aa61",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260105184430id_/https://eprint.iacr.org/2021/793.pdf",
      "captured_at": "2026-01-05T18:44:30Z",
      "size": 508273
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/793.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 510863
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/793,\n      author = {Nils Fleischhacker and Kasper Green Larsen and Mark Simkin},\n      title = {Property-Preserving Hash Functions for Hamming Distance from Standard Assumptions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/793},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/793}\n}"
}
