{
  "id": "2011/088",
  "url": "https://opencryptology.org/2011/088",
  "original_url": "https://eprint.iacr.org/2011/088",
  "title": "Leftover Hash Lemma, Revisited",
  "authors": [
    "Boaz Barak",
    "Yevgeniy Dodis",
    "Hugo Krawczyk",
    "Olivier Pereira",
    "Krzysztof Pietrzak",
    "Francois-Xavier Standaert",
    "Yu Yu"
  ],
  "affiliations": null,
  "abstract": "The famous Leftover Hash Lemma (LHL) states that (almost) universal hash functions are good randomness extractors. Despite its numerous applications, LHL-based extractors suffer from the following two drawbacks:\n\n(1) Large Entropy Loss: to extract v bits from distribution X of min-entropy m which are e-close to uniform, one must set v <= m - 2*log(1/e), meaning that the entropy loss L = m-v >= 2*log(1/e).\n\n(2) Large Seed Length: the seed length n of (almost) universal hash function required by the LHL must be at least n >= min(u-v, v + 2*log(1/e))-O(1), where u is the length of the source.\n\nQuite surprisingly, we show that both limitations of the LHL --- large entropy loss and large seed --- can often be overcome (or, at least, mitigated) in various quite general scenarios. First, we show that entropy loss could be reduced to L=log(1/e) for the setting of deriving secret keys for a wide range of cryptographic applications. Specifically, the security of these schemes gracefully degrades from e to at most e + sqrt(e * 2^{-L}). (Notice that, unlike standard LHL, this bound is meaningful even for negative entropy loss, when we extract more bits than the the min-entropy we have!) Based on these results we build a general *computational extractor* that enjoys low entropy loss and can be used to instantiate a generic key derivation function for *any* cryptographic application.\n\nSecond, we study the soundness of the natural *expand-then-extract* approach, where one uses a pseudorandom generator (PRG) to expand a short \"input seed\" S into a longer \"output seed\" S', and then use the resulting S' as the seed required by the LHL (or, more generally, any randomness extractor). Unfortunately, we show that, in general, expand-then-extract approach is not sound if the Decisional Diffie-Hellman assumption is true. Despite that, we show that it is sound either: (1) when extracting a \"small\" (logarithmic in the security of the PRG) number of bits; or (2) in *minicrypt*. Implication (2) suggests that the sample-then-extract approach is likely secure when used with \"practical\" PRGs, despite lacking a reductionist proof of security!\n\nFinally, we combine our main results to give a very *simple and efficient* AES-based extractor, which easily supports variable-length messages, and is likely to offer our *improved entropy loss bounds* for any computationally-secure application, despite having a *fixed-length* seed.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Leftover Hash Lemma, Revisited” by Boaz Barak, Yevgeniy Dodis, Hugo Krawczyk, Olivier Pereira, Krzysztof Pietrzak, Francois-Xavier Standaert, Yu Yu, Cryptology ePrint Archive, Paper 2011/088, https://eprint.iacr.org/2011/088. 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-02-28T00:52:07Z",
    "updated": "2011-09-03T19:45:57Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2011/088.pdf",
    "sha256": "6ff72cdb80e73b77af5bfae086ea7784bdd36c03d53caaec87d7da63d85f3132",
    "size": 608949,
    "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/088/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/088.pdf",
      "size": 608949,
      "sha256": "6ff72cdb80e73b77af5bfae086ea7784bdd36c03d53caaec87d7da63d85f3132",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408231826id_/https://eprint.iacr.org/2011/088.pdf",
      "captured_at": "2026-04-08T23:18:26Z",
      "size": 526595
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2011/088.pdf",
      "captured_at": "2019-02-25T16:30:01Z",
      "size": 608949
    }
  ],
  "bibtex": "@misc{cryptoeprint:2011/088,\n      author = {Boaz Barak and Yevgeniy Dodis and Hugo Krawczyk and Olivier Pereira and Krzysztof Pietrzak and Francois-Xavier Standaert and Yu Yu},\n      title = {Leftover Hash Lemma, Revisited},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2011/088},\n      year = {2011},\n      url = {https://eprint.iacr.org/2011/088}\n}"
}
