{
  "id": "2015/591",
  "url": "https://opencryptology.org/2015/591",
  "original_url": "https://eprint.iacr.org/2015/591",
  "title": "How much randomness can be extracted from memoryless Shannon entropy sources?",
  "authors": [
    "Maciej Skorski"
  ],
  "affiliations": null,
  "abstract": "We revisit the classical problem: given a memoryless source having a certain amount of Shannon Entropy, how many random bits can be extracted? This question appears in works studying random number generators built from physical entropy sources.\n\nSome authors use a heuristic estimate obtained from the Asymptotic Equipartition Property, which yields roughly $n$ extractable bits, where $n$ is the total Shannon entropy amount. However the best known precise form gives only $n-O(\\sqrt{\\log(1/\\epsilon) n})$, where $\\epsilon$ is the distance of the extracted bits from uniform. In this paper we show a matching $ n-\\Omega(\\sqrt{\\log(1/\\epsilon) n})$ upper bound. Therefore, the loss of $\\Theta(\\sqrt{\\log(1/\\epsilon) n})$ bits is necessary. As we show,  this theoretical bound is of practical relevance. Namely, applying the imprecise AEP heuristic to a mobile phone accelerometer one might overestimate extractable entropy even by $100\\%$, no matter what the extractor is. Thus, the ``AEP extracting heuristic'' should not be used without taking the precise error into account.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“How much randomness can be extracted from memoryless Shannon entropy sources?” by Maciej Skorski, Cryptology ePrint Archive, Paper 2015/591, https://eprint.iacr.org/2015/591. 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-06-21T16:27:25Z",
    "updated": "2015-06-21T16:27:25Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2015/591.pdf",
    "sha256": "bb258c8358c78d835122b5838be2a0060635b449e539da2cc4afcb061bb2f90a",
    "size": 424600,
    "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/591/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/591.pdf",
      "size": 424600,
      "sha256": "bb258c8358c78d835122b5838be2a0060635b449e539da2cc4afcb061bb2f90a",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260421051806id_/https://eprint.iacr.org/2015/591.pdf",
      "captured_at": "2026-04-21T05:18:06Z",
      "size": 421463
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/591.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "size": 424600
    }
  ],
  "bibtex": "@misc{cryptoeprint:2015/591,\n      author = {Maciej Skorski},\n      title = {How much randomness can be extracted from memoryless Shannon entropy sources?},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2015/591},\n      year = {2015},\n      url = {https://eprint.iacr.org/2015/591}\n}"
}
