{
  "id": "2004/207",
  "url": "https://opencryptology.org/2004/207",
  "original_url": "https://eprint.iacr.org/2004/207",
  "title": "On Corrective Patterns for the SHA-2 Family",
  "authors": [
    "Philip Hawkes",
    "Michael Paddon",
    "Gregory G. Rose"
  ],
  "affiliations": null,
  "abstract": "The Secure Hash Standard (SHS) [3] includes hashing algorithms denoted SHA-n, (n in {224, 256, 384, 512}) for producing message digests of length n. These algorithms are based on a common design, sometimes known as SHA-2, that consists of a message schedule and a register. The most successful attacks on the SHA algorithms are Chabaud-Joux differential collisions [1, 2, 4, 5, 7], which are based on finding a corrective pattern for the register. Previous analysis of the SHA-2 algoritms [4] indicated that, for all SHA-2 algorithms, the best corrective pattern has probability 2^-66. We find that the complexity of obtaining a collision is 2^39 when the register state is unknown. Of this complexity, a factor of 2^9 corresponds to conditions on the internal state that must be satisfied, and a factor of 2^30 corresponds to 30 bits of internal state that must be guessed correctly in order to generate a collision. When the register state is known (as is the case when generating a hash) then the guessed bits\nare known and the complexity is reduced to 2^9. The simple analysis of the message schedule in [4] determines limits on the probability of collision for SHA-2, and was sufficient at that time to conclude that the algorithms resist the attacks. In [4] the claimed complexity is compared against the birthday attack bound of 2^n/2. However, the corrective pattern can be converted into a second pre-image attack for which the complexity should be greater than 2^n. When accounting for the complexity of 2^9 per corrective pattern, the previous analysis of the message schedule yields lower bounds on the\ncomplexities 2^27 for SHA-224/256 and 2^45 for SHA-224/256. These complexities are significantly less than the 2^n bound. It is no longer certain that SHA-2 resists this attack. More detailed analysis of the message schedule is required.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On Corrective Patterns for the SHA-2 Family” by Philip Hawkes, Michael Paddon, Gregory G. Rose, Cryptology ePrint Archive, Paper 2004/207, https://eprint.iacr.org/2004/207. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2004-08-22T19:57:56Z",
    "updated": "2004-08-22T19:57:56Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2004/207.pdf",
    "sha256": "adc0fe6c588017d3458a8eb1e400091870c3815b639637f545e2a32062072a7c",
    "size": 307143,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:06:57Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2004/207/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/2004/207.pdf",
      "size": 307143,
      "sha256": "adc0fe6c588017d3458a8eb1e400091870c3815b639637f545e2a32062072a7c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260913172926id_/https://eprint.iacr.org/2004/207.pdf",
      "captured_at": "2026-09-13T17:29:26Z",
      "size": 248519
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2004/207.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 307143
    }
  ],
  "bibtex": "@misc{cryptoeprint:2004/207,\n      author = {Philip Hawkes and Michael Paddon and Gregory G. Rose},\n      title = {On Corrective Patterns for the SHA-2 Family},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2004/207},\n      year = {2004},\n      url = {https://eprint.iacr.org/2004/207}\n}"
}
