{
  "id": "2016/1049",
  "url": "https://opencryptology.org/2016/1049",
  "original_url": "https://eprint.iacr.org/2016/1049",
  "title": "Randomized stopping times and provably secure pseudorandom permutation generators",
  "authors": [
    "Michal Kulis",
    "Pawel Lorek",
    "Filip Zagorski"
  ],
  "affiliations": null,
  "abstract": "Conventionally, key-scheduling algorithm (KSA) of a cryptographic scheme runs for predefined number of steps. We suggest a different approach by utilization of randomized stopping rules to generate permutations which are indistinguishable from uniform ones. We explain that if the stopping time of such a shuffle is a Strong Stationary Time and bits of the secret key are not reused then these algorithms are immune against timing attacks.\n\nWe also revisit the well known paper of Mironov~\\cite{Mironov2002} which analyses a card shuffle which models KSA of RC4. Mironov states that expected time till reaching uniform distribution is $2n H_n - n$ while we prove that $n H_n+ n$ steps are enough (by finding a new strong stationary time for the shuffle).\n\nNevertheless, both cases require $O(n \\log^2 n)$ bits of randomness while one can replace the shuffle used in RC4 (and in Spritz) with a better shuffle which is optimal and needs only $O(n \\log n)$ bits.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Randomized stopping times and provably secure pseudorandom permutation generators” by Michal Kulis, Pawel Lorek, Filip Zagorski, Cryptology ePrint Archive, Paper 2016/1049, https://eprint.iacr.org/2016/1049. 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-11-07T19:33:30Z",
    "updated": "2016-11-07T19:33:30Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/1049.pdf",
    "sha256": "f266244096eb527714ce9e0866672b83a853a9d773fb7039eaaa345943313dee",
    "size": 724857,
    "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/1049/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/1049.pdf",
      "size": 724857,
      "sha256": "f266244096eb527714ce9e0866672b83a853a9d773fb7039eaaa345943313dee",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260223041948id_/https://eprint.iacr.org/2016/1049.pdf",
      "captured_at": "2026-02-23T04:19:48Z",
      "size": 726178
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/1049.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 724857
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/1049,\n      author = {Michal Kulis and Pawel Lorek and Filip Zagorski},\n      title = {Randomized stopping times and provably secure pseudorandom permutation generators},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/1049},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/1049}\n}"
}
