{
  "id": "2008/032",
  "url": "https://opencryptology.org/2008/032",
  "original_url": "https://eprint.iacr.org/2008/032",
  "title": "Merkle's Key Agreement Protocol is Optimal: An $O(n^2)$ Attack on any Key Agreement from Random Oracles",
  "authors": [
    "Boaz Barak",
    "Mohammad Mahmoody"
  ],
  "affiliations": null,
  "abstract": "We prove that every key agreement protocol in the random oracle model in which the honest users make at most $n$ queries to the oracle can be broken by an adversary who makes $O(n^2)$ queries to the oracle. This improves on the previous $\\Omega(n^6)$ query attack given by Impagliazzo and Rudich (STOC '89) and resolves an open question posed by\nthem.\n\nOur bound is optimal up to a constant factor since Merkle  proposed a key agreement protocol in 1974 that can be easily implemented with $n$ queries to a random oracle and cannot be broken by any adversary who asks $o(n^2)$ queries.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Merkle's Key Agreement Protocol is Optimal: An $O(n^2)$ Attack on any Key Agreement from Random Oracles” by Boaz Barak, Mohammad Mahmoody, Cryptology ePrint Archive, Paper 2008/032, https://eprint.iacr.org/2008/032. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2008-01-28T15:22:04Z",
    "updated": "2016-06-15T18:49:49Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2008/032.pdf",
    "sha256": "3300a2d2bf15ec53d8d901c62e86fa49f42c32a1c4bd0e5f333dd7f63f7c4b0b",
    "size": 597784,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:13:43Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2008/032/versions/20190225T161343Z.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2008/032.pdf",
      "size": 597784,
      "sha256": "3300a2d2bf15ec53d8d901c62e86fa49f42c32a1c4bd0e5f333dd7f63f7c4b0b",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2008/032/versions/20130626T180024Z.pdf",
      "captured_at": "2013-06-26T18:00:24Z",
      "label": "copy captured 2013-06-26",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20130626180024id_/http://eprint.iacr.org/2008/032.pdf",
      "size": 314052,
      "sha256": "c58edc3644ce287b6c140e1fcc598696debe2732b6777ffad7debb23fc762266",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2008/032/versions/20080424T175818Z.pdf",
      "captured_at": "2008-04-24T17:58:18Z",
      "label": "copy captured 2008-04-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20080424175818id_/http://eprint.iacr.org/2008/032.pdf",
      "size": 218356,
      "sha256": "cc314e811c19176696fa03fc2e028f9b27cbd5413c5c8c6aaf9765f1c6b0f4d9",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408212423id_/https://eprint.iacr.org/2008/032.pdf",
      "captured_at": "2026-04-08T21:24:23Z",
      "size": 492065
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2008/032.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "size": 597784
    }
  ],
  "bibtex": "@misc{cryptoeprint:2008/032,\n      author = {Boaz Barak and Mohammad Mahmoody},\n      title = {Merkle's Key Agreement Protocol is Optimal: An $O(n^2)$ Attack on any Key Agreement from Random Oracles},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2008/032},\n      year = {2008},\n      url = {https://eprint.iacr.org/2008/032}\n}"
}
