{
  "id": "2013/441",
  "url": "https://opencryptology.org/2013/441",
  "original_url": "https://eprint.iacr.org/2013/441",
  "title": "On Stochastic Security of Java Crypto and NIST DRBG Pseudorandom Sequences",
  "authors": [
    "Yongge Wang"
  ],
  "affiliations": null,
  "abstract": "Cryptographic primitives such as secure hash functions\n(e.g., SHA1, SHA2, and SHA3) and symmetric\nkey block ciphers (e.g., AES and TDES) have been commonly used\nto design pseudorandom generators with counter modes\n(e.g., in Java Crypto Library and in NIST SP800-90A standards).\nIt is assumed  that if these primitives\nare secure then the pseudorandom generators\nbased on these primitives are also secure. However,\nno systematic research and analysis have been done\nto support this assumption.\nBased on complexity theoretic results for pseudorandom sequences,\nthis paper analyzes stochastic properties of long sequences\nproduced by hash function based pseudorandom generators DRBG from\nNIST SP800-90A and SHA1PRNG from Java Crypto Library.\nOur results show that none of these sequences satisfy the\nlaw of the iterated logarithm (LIL) which holds\nfor polynomial time pseudorandom sequences. Our results also\nshow that if the seeds and counters for pseudorandom generators\nare not appropriately chosen, then the generated sequences\nhave strongly biased values for LIL-tests\nand could be distinguished from uniformly chosen sequences\nwith a high probability.\nBased on these results, appropriate seeding and counter\nmethods are proposed for pseudorandom generator designs.\nThe results in this paper reveal some ``non-random'' behavior of\nSHA1, SHA2, and of the recently announced SHA3.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On Stochastic Security of Java Crypto and NIST DRBG Pseudorandom Sequences” by Yongge Wang, Cryptology ePrint Archive, Paper 2013/441, https://eprint.iacr.org/2013/441. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2013-07-18",
    "updated": "2014-07-27T12:07:46Z",
    "withdrawn": "2014-07-27"
  },
  "withdrawn": true,
  "withdrawn_on": "2014-07-27",
  "pdf": {
    "url": "https://opencryptology.org/2013/441.pdf",
    "sha256": "464ba2c030bc9c1000b12612314adb7e6793c1e418df51c7e97a11c16e88dd37",
    "size": 959868,
    "source": "wayback",
    "source_date": "2014-01-31T04:30:50Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": true
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2013/441/versions/20140131T043050Z.pdf",
      "captured_at": "2014-01-31T04:30:50Z",
      "label": "copy captured 2014-01-31",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20140131043050id_/http://eprint.iacr.org/2013/441.pdf",
      "size": 959868,
      "sha256": "464ba2c030bc9c1000b12612314adb7e6793c1e418df51c7e97a11c16e88dd37",
      "is_default_pdf": true
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2013/441,\n      author = {Yongge Wang},\n      title = {On Stochastic Security of Java Crypto and NIST DRBG Pseudorandom Sequences},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2013/441},\n      year = {2013},\n      url = {https://eprint.iacr.org/2013/441}\n}"
}
