{
  "id": "2006/319",
  "url": "https://opencryptology.org/2006/319",
  "original_url": "https://eprint.iacr.org/2006/319",
  "title": "Forgery and Partial Key-Recovery Attacks on HMAC and NMAC Using Hash Collisions",
  "authors": [
    "Scott Contini",
    "Yiqun Lisa Yin"
  ],
  "affiliations": null,
  "abstract": "In this paper, we analyze the security of HMAC and NMAC, both of which are hash-based message authentication codes. We present distinguishing, forgery, and partial key recovery attacks on HMAC and NMAC using collisions of MD4, MD5, SHA-0, and reduced SHA-1. Our results demonstrate that the strength of a cryptographic scheme can be greatly weakened by the insecurity of the underlying hash function.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Forgery and Partial Key-Recovery Attacks on HMAC and NMAC Using Hash Collisions” by Scott Contini, Yiqun Lisa Yin, Cryptology ePrint Archive, Paper 2006/319, https://eprint.iacr.org/2006/319. 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-09-21T09:59:50Z",
    "updated": "2006-09-21T09:59:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2006/319.pdf",
    "sha256": "4e204f84d692b32c76b034e835a690366540682a64487f8ad25c7399474f495f",
    "size": 278296,
    "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/319/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/319.pdf",
      "size": 278296,
      "sha256": "4e204f84d692b32c76b034e835a690366540682a64487f8ad25c7399474f495f",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251209091752id_/https://eprint.iacr.org/2006/319.pdf",
      "captured_at": "2025-12-09T09:17:52Z",
      "size": 159503
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2006/319.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 278296
    }
  ],
  "bibtex": "@misc{cryptoeprint:2006/319,\n      author = {Scott Contini and Yiqun Lisa Yin},\n      title = {Forgery and Partial Key-Recovery Attacks on HMAC and NMAC Using Hash Collisions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2006/319},\n      year = {2006},\n      url = {https://eprint.iacr.org/2006/319}\n}"
}
