{
  "id": "2003/127",
  "url": "https://opencryptology.org/2003/127",
  "original_url": "https://eprint.iacr.org/2003/127",
  "title": "Using Information Theory Approach to Randomness Testing",
  "authors": [
    "B. Ya. Ryabko",
    "V. A. Monarev"
  ],
  "affiliations": null,
  "abstract": "We address the problem of detecting deviations of binary sequence\nfrom randomness,which is very important for random number (RNG)\nand pseudorandom number generators (PRNG). Namely, we consider a\nnull hypothesis $H_0$ that a given bit sequence is generated by\nBernoulli source with equal probabilities of 0 and 1 and the\nalternative hypothesis $H_1$ that the sequence is generated by a\nstationary and ergodic source which differs from the source under\n$H_0$. We show that data compression methods can be used as a\nbasis for such testing and describe two new tests for randomness,\nwhich are based on ideas of universal coding. Known statistical\ntests and suggested ones are applied for testing  PRNGs, which are\npractically used. Those experiments show that the power of the new\ntests is greater than of many known algorithms.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Using Information Theory Approach to Randomness Testing” by B. Ya. Ryabko, V. A. Monarev, Cryptology ePrint Archive, Paper 2003/127, https://eprint.iacr.org/2003/127. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2003-06-23T20:10:14Z",
    "updated": "2003-06-23T20:10:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2003/127.pdf",
    "sha256": "2f3023de795fe7cb771466d3064b9d0d84fea4c9aad4ec0480b6f8235e60a401",
    "size": 173766,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:04:03Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2003/127/versions/20190225T160403Z.pdf",
      "captured_at": "2019-02-25T16:04:03Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2003/127.pdf",
      "size": 173766,
      "sha256": "2f3023de795fe7cb771466d3064b9d0d84fea4c9aad4ec0480b6f8235e60a401",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260404151755id_/https://eprint.iacr.org/2003/127.pdf",
      "captured_at": "2026-04-04T15:17:55Z",
      "size": 156021
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2003/127.pdf",
      "captured_at": "2019-02-25T16:04:03Z",
      "size": 173766
    }
  ],
  "bibtex": "@misc{cryptoeprint:2003/127,\n      author = {B. Ya. Ryabko and V. A. Monarev},\n      title = {Using Information Theory Approach to Randomness Testing},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2003/127},\n      year = {2003},\n      url = {https://eprint.iacr.org/2003/127}\n}"
}
