{
  "id": "2006/043",
  "url": "https://opencryptology.org/2006/043",
  "original_url": "https://eprint.iacr.org/2006/043",
  "title": "New Proofs for NMAC and HMAC: Security Without Collision-Resistance",
  "authors": [
    "Mihir Bellare"
  ],
  "affiliations": null,
  "abstract": "HMAC was proved by Bellare, Canetti and Krawczyk [2] to be a PRF assuming that (1)\nthe underlying compression function is a PRF, and (2) the iterated hash\nfunction is weakly collision-resistant.\nHowever, recent attacks show that assumption (2) is false for\nMD5 and SHA-1,\nremoving the proof-based support for HMAC in these cases.\nThis paper proves that HMAC is a PRF\nunder the sole assumption that the compression function is a PRF. This recovers\na proof based guarantee since no known attacks compromise the pseudorandomness\nof the compression function, and it also helps explain the resistance-to-attack\nthat HMAC has shown even when implemented with hash functions whose\n(weak) collision resistance is compromised.  We also show that an even\nweaker-than-PRF condition on the compression function, namely that it is a\nprivacy-preserving MAC, suffices to establish HMAC is a MAC as long as the hash\nfunction meets the very weak requirement of being computationally almost\nuniversal, where again the value lies in the fact that known attacks do not\ninvalidate the assumptions made.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“New Proofs for NMAC and HMAC: Security Without Collision-Resistance” by Mihir Bellare, Cryptology ePrint Archive, Paper 2006/043, https://eprint.iacr.org/2006/043. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2006-02-06T21:46:30Z",
    "updated": "2014-04-10T00:03:27Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2006/043.pdf",
    "sha256": "d1a010570ad364506e07136017d28bda4aaee64e26ca4b3d31bcbad88a926895",
    "size": 466191,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:06:57Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2006/043/versions/20190225T160657Z.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2006/043.pdf",
      "size": 466191,
      "sha256": "d1a010570ad364506e07136017d28bda4aaee64e26ca4b3d31bcbad88a926895",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2006/043/versions/20060720T221049Z.pdf",
      "captured_at": "2006-07-20T22:10:49Z",
      "label": "copy captured 2006-07-20",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20060720221049id_/http://eprint.iacr.org:80/2006/043.pdf",
      "size": 413449,
      "sha256": "82d0f8561681ae75aac1924f75e90ee2c9d7fcd170946fb3077976562ae012f0",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2006/043/versions/20060616T112212Z.pdf",
      "captured_at": "2006-06-16T11:22:12Z",
      "label": "copy captured 2006-06-16",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20060616112212id_/http://eprint.iacr.org:80/2006/043.pdf",
      "size": 298871,
      "sha256": "25ee68aeb126ef0df669a932cc04f69dc917fe24704c2cdb90b73457909681fd",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2006/043/versions/20060304T234259Z.pdf",
      "captured_at": "2006-03-04T23:42:59Z",
      "label": "copy captured 2006-03-04",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20060304234259id_/http://eprint.iacr.org:80/2006/043.pdf",
      "size": 287171,
      "sha256": "cb2cb4856ca592a8b646ce2ce07fba865c846bf18c02542e65dc3bd433693626",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261003202652id_/https://eprint.iacr.org/2006/043.pdf",
      "captured_at": "2026-10-03T20:26:52Z",
      "size": 467522
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2006/043.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 466191
    }
  ],
  "bibtex": "@misc{cryptoeprint:2006/043,\n      author = {Mihir Bellare},\n      title = {New Proofs for NMAC and HMAC: Security Without Collision-Resistance},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2006/043},\n      year = {2006},\n      url = {https://eprint.iacr.org/2006/043}\n}"
}
