{
  "id": "2016/865",
  "url": "https://opencryptology.org/2016/865",
  "original_url": "https://eprint.iacr.org/2016/865",
  "title": "Reverse Cycle Walking and Its Applications",
  "authors": [
    "Sarah Miracle",
    "Scott Yilek"
  ],
  "affiliations": null,
  "abstract": "We study the problem of constructing a block-cipher on a \"possibly-strange\" set $\\mathcal S$ using a block-cipher on a larger set $\\mathcal T$.  Such constructions are useful in format-preserving encryption, where for example the set $\\mathcal S$ might contain \"valid 9-digit social security numbers\" while $\\mathcal T$ might be the set of 30-bit strings.  Previous work has solved this problem using a technique called cycle walking, first formally analyzed by Black and Rogaway.  Assuming the size of $\\mathcal S$ is a constant fraction of the size of $\\mathcal T$, cycle walking allows one to encipher a point $x \\in \\mathcal S$ by applying the block-cipher on $\\mathcal T$ a small /expected/ number of times and $O(N)$ times\nin the worst case, where $N = |\\mathcal T|$, without any degradation in security.  We introduce an alternative to cycle walking that we call /reverse cycle walking/, which lowers the worst-case number of times we must apply the block-cipher on $\\mathcal T$ from $O(N)$ to $O(\\log N)$.  Additionally, when the underlying block-cipher on $\\mathcal T$ is secure against $q = (1-\\epsilon)N$ adversarial queries, we show that applying reverse cycle walking gives us a cipher on $\\mathcal S$ secure even if the adversary is allowed to query all of the domain points.  Such fully-secure ciphers have been the the target of numerous recent papers.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Reverse Cycle Walking and Its Applications” by Sarah Miracle, Scott Yilek, Cryptology ePrint Archive, Paper 2016/865, https://eprint.iacr.org/2016/865. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-09-10T15:37:50Z",
    "updated": "2016-09-10T15:37:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/865.pdf",
    "sha256": "1dd36b5eb66918b145816719ae75494aee7d61e8bfdec117a0d8a67226bf6219",
    "size": 431730,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/865/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/865.pdf",
      "size": 431730,
      "sha256": "1dd36b5eb66918b145816719ae75494aee7d61e8bfdec117a0d8a67226bf6219",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260308014330id_/https://eprint.iacr.org/2016/865.pdf",
      "captured_at": "2026-03-08T01:43:30Z",
      "size": 424187
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/865.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 431730
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/865,\n      author = {Sarah Miracle and Scott Yilek},\n      title = {Reverse Cycle Walking and Its Applications},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/865},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/865}\n}"
}
