{
  "id": "2010/384",
  "url": "https://opencryptology.org/2010/384",
  "original_url": "https://eprint.iacr.org/2010/384",
  "title": "Practical consequences of the aberration of narrow-pipe hash designs from ideal random functions",
  "authors": [
    "Danilo Gligoroski",
    "Vlastimil Klima"
  ],
  "affiliations": null,
  "abstract": "In a recent note to the NIST hash-forum list, the following\nobservation was presented: narrow-pipe hash functions differ\nsignificantly from ideal random functions $H:\\{0,1\\}^{N} \\rightarrow\n\\{0,1\\}^n$ that map bit strings from a big domain where $N=n+m,\\\nm\\geq n$ ($n=256$ or $n=512$). Namely, for an ideal random function\nwith a big domain space $\\{0,1\\}^{N}$ and a finite co-domain space\n$Y=\\{0,1\\}^n$, for every element $y \\in Y$, the probability\n$Pr\\{H^{-1}(y) = \\varnothing\\} \\approx e^{-2^{m}} \\approx 0$ where\n$H^{-1}(y) \\subseteq \\{0,1\\}^{N}$ and $H^{-1}(y) = \\{x \\ |\\ H(x)=y\n\\}$ (in words - the probability that elements of $Y$ are\n``unreachable'' is negligible). However, for the narrow-pipe hash\nfunctions, for certain values of $N$ (the values that are causing\nthe last padded block that is processed by the compression function\nof these functions to have no message bits), there exists a huge\nnon-empty subset $Y_\\varnothing \\subseteq Y$ with a volume\n$|Y_\\varnothing|\\approx e^{-1}|Y|\\approx 0.36 |Y|$ for which it is\ntrue that for every $y \\in Y_\\varnothing,\\ H^{-1}(y) = \\varnothing$.\n\nIn this paper we extend the same finding to SHA-2 and show\nconsequences of this abberation when narrow-pipe hash functions are\nemployed in HMAC and in two widely used protocols: 1. The\npseudo-random function defined in SSL/TLS 1.2 and 2. The\nPassword-based Key Derivation Function No.1, i.e. PBKDF1.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Practical consequences of the aberration of narrow-pipe hash designs from ideal random functions” by Danilo Gligoroski, Vlastimil Klima, Cryptology ePrint Archive, Paper 2010/384, https://eprint.iacr.org/2010/384. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2010-07-07T19:12:59Z",
    "updated": "2010-07-31T09:53:00Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2010/384.pdf",
    "sha256": "ce34acf56393c3cf661c9bb21e2a9190152c21370fa18a5b3075744a7241e04d",
    "size": 125328,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:24:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2010/384/versions/20190225T162428Z.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/384.pdf",
      "size": 125328,
      "sha256": "ce34acf56393c3cf661c9bb21e2a9190152c21370fa18a5b3075744a7241e04d",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260928162409id_/https://eprint.iacr.org/2010/384.pdf",
      "captured_at": "2026-09-28T16:24:09Z",
      "size": 111632
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/384.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "size": 125328
    }
  ],
  "bibtex": "@misc{cryptoeprint:2010/384,\n      author = {Danilo Gligoroski and Vlastimil Klima},\n      title = {Practical consequences of the aberration of narrow-pipe hash designs from ideal random functions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2010/384},\n      year = {2010},\n      url = {https://eprint.iacr.org/2010/384}\n}"
}
