{
  "id": "2011/434",
  "url": "https://opencryptology.org/2011/434",
  "original_url": "https://eprint.iacr.org/2011/434",
  "title": "An Efficient Protocol for Oblivious DFA Evaluation and Applications",
  "authors": [
    "Payman Mohassel",
    "Salman Niksefat",
    "Saeed Sadeghian",
    "Babak Sadeghiyan"
  ],
  "affiliations": null,
  "abstract": "In this paper, we design an efficient protocol for \\emph{oblivious DFA  evaluation} between an input holder (client) and a DFA holder (server). The protocol runs in a single round, and only requires a small amount of computation by each party. The most efficient version of our protocol only requires $O(k)$ asymmetric operations by either party, where $k$ is the security parameter. Moreover, the client's total computation is only linear in his own input and independent of the size of the DFA.  We prove the protocol fully-secure against a \\emph{malicious client} and \\emph{private} against a malicious server, using the standard \\emph{simulation-based} security definitions for secure two-party computation.\n\nWe show how to transform our construction in order to solve multiple variants of the \\emph{secure pattern matching} problem without any computational overhead. The more challenging variant is when parties want to compute the number of occurrences of a pattern in a text (but nothing else). We observe that, for this variant, we need a protocol for counting the number of accepting states visited during the evaluation of a DFA on an input. We then introduce a novel modification to our original protocol in order to  solve the counting variant, without any loss in efficiency or security.\n\nFinally, we fully implement our protocol and run a series of experiments on a client/server network environment. Our experimental results demonstrate the efficiency of our proposed protocol and, confirm the particularly low computation overhead of the client.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“An Efficient Protocol for Oblivious DFA Evaluation and Applications” by Payman Mohassel, Salman Niksefat, Saeed Sadeghian, Babak Sadeghiyan, Cryptology ePrint Archive, Paper 2011/434, https://eprint.iacr.org/2011/434. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2011-08-12T18:33:29Z",
    "updated": "2011-11-14T19:38:07Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2011/434.pdf",
    "sha256": "1619b150cb3639c2b80404fec6c1a64334ad9b47b3c873b6efb735276bdeb1d4",
    "size": 425813,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:30:01Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2011/434/versions/20190225T163001Z.pdf",
      "captured_at": "2019-02-25T16:30:01Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2011/434.pdf",
      "size": 425813,
      "sha256": "1619b150cb3639c2b80404fec6c1a64334ad9b47b3c873b6efb735276bdeb1d4",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251231151844id_/https://eprint.iacr.org/2011/434.pdf",
      "captured_at": "2025-12-31T15:18:44Z",
      "size": 410439
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2011/434.pdf",
      "captured_at": "2019-02-25T16:30:01Z",
      "size": 425813
    }
  ],
  "bibtex": "@misc{cryptoeprint:2011/434,\n      author = {Payman Mohassel and Salman Niksefat and Saeed Sadeghian and Babak Sadeghiyan},\n      title = {An Efficient Protocol for Oblivious DFA Evaluation and Applications},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2011/434},\n      year = {2011},\n      url = {https://eprint.iacr.org/2011/434}\n}"
}
