{
  "id": "2015/773",
  "url": "https://opencryptology.org/2015/773",
  "original_url": "https://eprint.iacr.org/2015/773",
  "title": "Distinguishing a truncated random permutation from a random function",
  "authors": [
    "Shoni Gilboa",
    "Shay Gueron"
  ],
  "affiliations": null,
  "abstract": "An oracle chooses a function f from the set of n bits strings to itself, which is either a randomly chosen permutation or a randomly chosen function. When queried by an n-bit string w, the oracle computes f(w), truncates the m last bits, and returns only the first n-m bits of f(w). How many queries does a querying adversary need to submit in order to distinguish the truncated permutation from a random function?\n\nIn 1998, Hall et al. showed an algorithm for determining (with high probability) whether or not f is a permutation, using O ( 2^((m+n)/2) ) queries. They also showed that if m < n/7, a smaller number of queries will not suffice. For m > n/7, their method gives a weaker bound.\n\nIn this manuscript, we show how a modification of the method used by Hall et al. can solve the porblem completely. It extends the result to essentially every m, showing that\n\nOmega ( 2^((m+n)/2) ) queries are needed to get a non-negligible distinguishing advantage.\nWe recently became aware that a better bound for the distinguishing advantage, for every m<n, follows from a result of Stam published, in a different context, already in 1978.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Distinguishing a truncated random permutation from a random function” by Shoni Gilboa, Shay Gueron, Cryptology ePrint Archive, Paper 2015/773, https://eprint.iacr.org/2015/773. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2015-08-03T19:18:21Z",
    "updated": "2015-08-03T19:18:21Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2015/773.pdf",
    "sha256": "e53b87beb9f5c306a54fc75b1c9242fff6fc584f8e474d2f6d00e17f79e4f45a",
    "size": 379709,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:07:53Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2015/773/versions/20190225T170753Z.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/773.pdf",
      "size": 379709,
      "sha256": "e53b87beb9f5c306a54fc75b1c9242fff6fc584f8e474d2f6d00e17f79e4f45a",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260303122906id_/https://eprint.iacr.org/2015/773.pdf",
      "captured_at": "2026-03-03T12:29:06Z",
      "size": 368861
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/773.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "size": 379709
    }
  ],
  "bibtex": "@misc{cryptoeprint:2015/773,\n      author = {Shoni Gilboa and Shay Gueron},\n      title = {Distinguishing a truncated random permutation from a random function},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2015/773},\n      year = {2015},\n      url = {https://eprint.iacr.org/2015/773}\n}"
}
