{
  "id": "2022/028",
  "url": "https://opencryptology.org/2022/028",
  "original_url": "https://eprint.iacr.org/2022/028",
  "title": "Locality-Preserving Hashing for Shifts with Connections to Cryptography",
  "authors": [
    "Elette Boyle",
    "Itai Dinur",
    "Niv Gilboa",
    "Yuval Ishai",
    "Nathan Keller",
    "Ohad Klein"
  ],
  "affiliations": null,
  "abstract": "Can we sense our location in an unfamiliar environment by taking a sublinear-size sample of our surroundings? Can we efficiently encrypt a message that only someone physically close to us can decrypt? To solve this kind of problems, we introduce and study a new type of hash functions for finding shifts in sublinear time. A function $h:\\{0,1\\}^n\\to \\mathbb{Z}_n$ is a $(d,\\delta)$ {\\em locality-preserving hash function for shifts} (LPHS) if: (1) $h$ can be computed by (adaptively) querying $d$ bits of its input, and (2) $\\Pr [ h(x) \neq h(x \\ll 1) + 1 ] \\leq \\delta$, where $x$ is random and $\\ll 1$ denotes a cyclic shift by one bit to the left.  We make the following contributions.\n\nNear-optimal LPHS via Distributed Discrete Log: We establish a general two-way connection between LPHS and algorithms for distributed discrete logarithm in the generic group model. Using such an algorithm of Dinur et al. (Crypto 2018), we get  LPHS with near-optimal error of $\\delta=\\tilde O(1/d^2)$.\nThis  gives an unusual example for the usefulness of group-based cryptography in a post-quantum world.\nWe extend the positive result to non-cyclic and worst-case variants of LPHS.\n\nMultidimensional LPHS:  We obtain positive and negative results for a multidimensional extension of LPHS, making progress towards an optimal 2-dimensional LPHS.\n\nApplications:  We demonstrate the usefulness of LPHS by presenting cryptographic and algorithmic applications.  In particular, we apply multidimensional LPHS to obtain an efficient \"packed\" implementation of  homomorphic secret sharing and a sublinear-time implementation of location-sensitive encryption whose decryption requires a significantly overlapping view.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Locality-Preserving Hashing for Shifts with Connections to Cryptography” by Elette Boyle, Itai Dinur, Niv Gilboa, Yuval Ishai, Nathan Keller, Ohad Klein, Cryptology ePrint Archive, Paper 2022/028, https://eprint.iacr.org/2022/028. 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-01-10T07:51:32Z",
    "updated": "2022-01-10T07:51:32Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/028.pdf",
    "sha256": "351eeab8ac344e2279f269bdf6dbcd838dbf352429193728e90905ee0e36c89b",
    "size": 687868,
    "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/028/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/28.pdf",
      "size": 687868,
      "sha256": "351eeab8ac344e2279f269bdf6dbcd838dbf352429193728e90905ee0e36c89b",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251101154159id_/https://eprint.iacr.org/2022/028.pdf",
      "captured_at": "2025-11-01T15:41:59Z",
      "size": 688805
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/28.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 687868
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/028,\n      author = {Elette Boyle and Itai Dinur and Niv Gilboa and Yuval Ishai and Nathan Keller and Ohad Klein},\n      title = {Locality-Preserving Hashing for Shifts with Connections to Cryptography},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/028},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/028}\n}"
}
