{
  "id": "2014/631",
  "url": "https://opencryptology.org/2014/631",
  "original_url": "https://eprint.iacr.org/2014/631",
  "title": "Zipf’s Law in Passwords",
  "authors": [
    "Ding Wang",
    "Gaopeng Jian",
    "Xinyi Huang",
    "Ping Wang"
  ],
  "affiliations": null,
  "abstract": "Despite more than thirty years of  research efforts, textual passwords are  still enveloped in mysterious veils. In this work, we make a substantial step forward in understanding the  distributions of  passwords and measuring the strength of password datasets by using   a statistical approach. We first show that Zipf's law perfectly exists in real-life passwords by conducting linear regressions on a corpus of 56 million passwords. As one specific application of this observation, we propose the number of unique passwords used in regression and the slope of the regression line together as a metric for assessing the strength of password datasets, and prove it in a mathematically rigorous manner. Furthermore, extensive experiments (including optimal attacks, simulated optimal attacks and state-of-the-art cracking sessions) are performed to demonstrate the practical effectiveness of our metric. To the best of knowledge, our new metric is the first one that is both easy to approximate  and   accurate to  facilitate comparisons, providing a useful tool for the system administrators to gain a precise grasp of the strength of their password datasets and to adjust the password   policies more reasonably.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Zipf’s Law in Passwords” by Ding Wang, Gaopeng Jian, Xinyi Huang, Ping Wang, Cryptology ePrint Archive, Paper 2014/631, https://eprint.iacr.org/2014/631. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-08-21T01:04:01Z",
    "updated": "2018-01-03T04:05:48Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/631.pdf",
    "sha256": "ba60b5841e18dc4c5f574380d43eefec857cac2eebf42d2b6f58bdd92af7eba1",
    "size": 2208547,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/631/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/631.pdf",
      "size": 2208547,
      "sha256": "ba60b5841e18dc4c5f574380d43eefec857cac2eebf42d2b6f58bdd92af7eba1",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2014/631/versions/20150910T035806Z.pdf",
      "captured_at": "2015-09-10T03:58:06Z",
      "label": "copy captured 2015-09-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20150910035806id_/http://eprint.iacr.org/2014/631.pdf",
      "size": 1939911,
      "sha256": "43741415f1460e5b5f96e81b726e072d66161d4861bdb11a9864e90f1ab00608",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2014/631/versions/20150318T063144Z.pdf",
      "captured_at": "2015-03-18T06:31:44Z",
      "label": "copy captured 2015-03-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20150318063144id_/http://eprint.iacr.org/2014/631.pdf",
      "size": 1020598,
      "sha256": "bf8a4b1cf16bc031a1d7580c0a75173728a33a875b176345e1f73ae747eb0b3c",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102200148id_/https://eprint.iacr.org/2014/631.pdf",
      "captured_at": "2026-01-02T20:01:48Z",
      "size": 1989987
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/631.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 2208547
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/631,\n      author = {Ding Wang and Gaopeng Jian and Xinyi Huang and Ping Wang},\n      title = {Zipf’s Law in Passwords},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/631},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/631}\n}"
}
