{
  "id": "2017/683",
  "url": "https://opencryptology.org/2017/683",
  "original_url": "https://eprint.iacr.org/2017/683",
  "title": "Efficient Privacy-Preserving General Edit Distance and Beyond",
  "authors": [
    "Ruiyu Zhu",
    "Yan Huang"
  ],
  "affiliations": null,
  "abstract": "Edit distance is an important non-linear metric that has many applications ranging from matching patient genomes to text-based intrusion detection. Depends on the application, related string-comparison metrics, such as weighted edit distance, Needleman-Wunsch distance, longest common subsequences, and heaviest common subsequences, can usually fit better than the basic edit distance. When these metrics need to be calculated on sensitive input strings supplied by mutually distrustful parties, it is more desirable but also more challenging to compute them in privacy-preserving ways. In this paper, we propose efficient secure computation protocols for private edit distance as well as several generalized applications including weighted edit distance (with potentially content-dependent weights), longest common subsequence, and heaviest common subsequence. Our protocols run 20+ times faster and use an order-of-magnitude less bandwidth than their best previous counterparts. Along- side, we propose a garbling scheme that allows free arithmetic addition, free multiplication with constants, and low-cost comparison/minimum for inputs of restricted relative-differences. Moreover, the encodings (i.e. wire-labels) in our garbling scheme can be converted from and to encodings used by traditional binary circuit garbling schemes with light to moderate costs. Therefore, while being extremely efficient on certain kinds of computations, the new garbling scheme remains composable and capable of handling generic computational tasks.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Efficient Privacy-Preserving General Edit Distance and Beyond” by Ruiyu Zhu, Yan Huang, Cryptology ePrint Archive, Paper 2017/683, https://eprint.iacr.org/2017/683. 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-07-18T15:06:04Z",
    "updated": "2017-08-01T22:32:42Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/683.pdf",
    "sha256": "e40e02d40f99e790c82d3200bc244830e1c4505ab52c87b37e2c39bbe400802e",
    "size": 409790,
    "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/683/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/683.pdf",
      "size": 409790,
      "sha256": "e40e02d40f99e790c82d3200bc244830e1c4505ab52c87b37e2c39bbe400802e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260429091510id_/https://eprint.iacr.org/2017/683.pdf",
      "captured_at": "2026-04-29T09:15:10Z",
      "size": 407275
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/683.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 409790
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/683,\n      author = {Ruiyu Zhu and Yan Huang},\n      title = {Efficient Privacy-Preserving General Edit Distance and Beyond},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/683},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/683}\n}"
}
