{
  "id": "2016/783",
  "url": "https://opencryptology.org/2016/783",
  "original_url": "https://eprint.iacr.org/2016/783",
  "title": "On the Memory-Hardness of Data-Independent Password-Hashing Functions",
  "authors": [
    "Joël Alwen",
    "Peter Gaži",
    "Chethan Kamath",
    "Karen Klein",
    "Georg Osang",
    "Krzysztof Pietrzak",
    "Leonid Reyzin",
    "Michal Rolínek",
    "Michal Rybár"
  ],
  "affiliations": null,
  "abstract": "We show attacks on five data-independent memory-hard functions (iMHF)\nthat were submitted to the password hashing competition. Informally, an MHF is a\nfunction which cannot be evaluated on dedicated hardware, like ASICs, at\nsignificantly lower energy and/or hardware cost than evaluating a single\ninstance on a standard single-core architecture.  Data-independent means the\nmemory access pattern of the function is independent of the input; this makes\niMHFs harder to construct than data-dependent ones, but the latter can be\nattacked by various side-channel attacks.\n\nFollowing [Alwen-Blocki'16], we capture the evaluation of an iMHF as a directed\nacyclic graph (DAG).  The cumulative parallel pebbling complexity of this\nDAG is a good measure for the cost of evaluating the iMHF on an ASIC.  If n\ndenotes the number of nodes of a DAG (or equivalently, the number of operations\n--- typically hash function calls --- of the underlying iMHF), its pebbling\ncomplexity must be close to n^2 for the iMHF to be memory-hard.  We show that\nthe following iMHFs are far from this bound: Rig.v2, TwoCats and\nGambit can be attacked with complexity O(n^{1.75});  the\ndata-independent phase of Pomelo (a finalist of the password hashing\ncompetition) and Lyra2  (also a finalist) can be attacked with complexity\nO(n^{1.83}) and O(n^{1.67}), respectively.\n\nFor our attacks we use and extend the technique developed by [Alwen-Blocki'16],\nwho show that the pebbling complexity of a DAG can be upper bounded in terms of\nits depth-robustness.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the Memory-Hardness of Data-Independent Password-Hashing Functions” by Joël Alwen, Peter Gaži, Chethan Kamath, Karen Klein, Georg Osang, Krzysztof Pietrzak, Leonid Reyzin, Michal Rolínek, Michal Rybár, Cryptology ePrint Archive, Paper 2016/783, https://eprint.iacr.org/2016/783. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-08-18T16:27:55Z",
    "updated": "2016-08-22T10:03:23Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/783.pdf",
    "sha256": "46ca3fc02090ce347654bddb1b840e01313fd239361ce643ae724cdbb9b14e30",
    "size": 553988,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/783/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/783.pdf",
      "size": 553988,
      "sha256": "46ca3fc02090ce347654bddb1b840e01313fd239361ce643ae724cdbb9b14e30",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260310132054id_/https://eprint.iacr.org/2016/783.pdf",
      "captured_at": "2026-03-10T13:20:54Z",
      "size": 472307
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/783.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 553988
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/783,\n      author = {Joël Alwen and Peter Gaži and Chethan Kamath and Karen Klein and Georg Osang and Krzysztof Pietrzak and Leonid Reyzin and Michal Rolínek and Michal Rybár},\n      title = {On the Memory-Hardness of Data-Independent Password-Hashing Functions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/783},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/783}\n}"
}
