{
  "id": "sha-512",
  "name": "SHA-512",
  "family_id": "sha2",
  "description": "512-bit Merkle-Damgård hash function standardized in NIST FIPS 180-4 using 80 compression steps over 64-bit words. Full-round security remains intact; published cryptanalysis is restricted to step-reduced variants up to 38 steps for semi-free-start collisions and 50 steps for preimages (57 steps for pseudo-preimages).",
  "status": "intact",
  "parameters": {
    "digest_bits": 512,
    "block_bits": 1024,
    "word_bits": 64,
    "rounds": 80,
    "construction": "Merkle-Damgård with Davies-Meyer compression",
    "standard": "NIST FIPS 180-4"
  },
  "references": [
    {
      "title": "FIPS 180-4: Secure Hash Standard",
      "url": "https://doi.org/10.6028/NIST.FIPS.180-4",
      "authors": [
        "National Institute of Standards and Technology"
      ],
      "doi": "10.6028/NIST.FIPS.180-4",
      "quote_location": "Section 6.4 (SHA-512)"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "sha512-aoki-etal-2009-46r-preimage",
      "target_id": "sha-512",
      "title": "Meet-in-the-middle preimage attack on 46-step SHA-512",
      "goal": "preimage",
      "attack_family": "meet_in_the_middle",
      "setting": "Step-reduced SHA-512 (46 of 80 steps) using partial-fixing and partial-matching",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2009-12-06",
      "authors": [
        "Kazumaro Aoki",
        "Jian Guo",
        "Krystian Matusiewicz",
        "Yu Sasaki",
        "Lei Wang"
      ],
      "references": [
        {
          "title": "Preimages for Step-Reduced SHA-2",
          "url": "https://eprint.iacr.org/2009/477",
          "authors": [
            "Kazumaro Aoki",
            "Jian Guo",
            "Krystian Matusiewicz",
            "Yu Sasaki",
            "Lei Wang"
          ],
          "eprint_id": "2009/477",
          "doi": "10.1007/978-3-642-10366-7_34",
          "quote_location": "ASIACRYPT 2009 / ePrint 2009/477 (46-step SHA-512 preimage)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 46,
        "total_rounds": 80,
        "log2_time": 511.5,
        "time_unit": "46-step SHA-512 compression function evaluations",
        "attack_goal": "preimage"
      },
      "notes": "Same paper also reports a 42-step preimage at 2^502.3 time and 2^22 memory."
    },
    {
      "id": "sha512-guo-etal-2010-42r-preimage",
      "target_id": "sha-512",
      "title": "Advanced meet-in-the-middle preimage attack on 42-step SHA-512",
      "goal": "preimage",
      "attack_family": "meet_in_the_middle",
      "setting": "Step-reduced SHA-512 (42 of 80 steps) with improved initial structures and partial matching",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2010-12-05",
      "authors": [
        "Jian Guo",
        "San Ling",
        "Christian Rechberger",
        "Huaxiong Wang"
      ],
      "references": [
        {
          "title": "Advanced Meet-in-the-Middle Preimage Attacks: First Results on Full Tiger, and Improved Results on MD4 and SHA-2",
          "url": "https://eprint.iacr.org/2010/016",
          "authors": [
            "Jian Guo",
            "San Ling",
            "Christian Rechberger",
            "Huaxiong Wang"
          ],
          "eprint_id": "2010/016",
          "doi": "10.1007/978-3-642-17373-8_4",
          "quote_location": "ASIACRYPT 2010 / ePrint 2010/016 (42-step SHA-512 preimage)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 42,
        "total_rounds": 80,
        "log2_time": 494.6,
        "time_unit": "42-step SHA-512 compression function evaluations",
        "attack_goal": "preimage"
      },
      "notes": "Improves the 42-step SHA-512 preimage complexity below the earlier 2^502.3 bound."
    },
    {
      "id": "sha512-khovratovich-etal-2011-50r-preimage",
      "target_id": "sha-512",
      "title": "Biclique preimage attack on 50-step SHA-512",
      "goal": "preimage",
      "attack_family": "biclique",
      "setting": "Step-reduced SHA-512 (50 of 80 steps) preimage; paper also reaches 57 steps for pseudo-preimages",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2011-06-01",
      "authors": [
        "Dmitry Khovratovich",
        "Christian Rechberger",
        "Alexandra Savelieva"
      ],
      "references": [
        {
          "title": "Bicliques for Preimages: Attacks on Skein-512 and the SHA-2 Family",
          "url": "https://eprint.iacr.org/2011/286",
          "authors": [
            "Dmitry Khovratovich",
            "Christian Rechberger",
            "Alexandra Savelieva"
          ],
          "eprint_id": "2011/286",
          "quote_location": "FSE 2012 / ePrint 2011/286 (50-step SHA-512 biclique preimage)"
        }
      ],
      "supersedes": [
        "sha512-aoki-etal-2009-46r-preimage"
      ],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 50,
        "total_rounds": 80,
        "log2_time": 511.5,
        "time_unit": "50-step SHA-512 compression function evaluations",
        "attack_goal": "preimage"
      },
      "notes": "Extends to 57 steps for compression-function pseudo-preimage attacks."
    },
    {
      "id": "sha512-eichlseder-mendel-schlaffer-2014-38r-sfs",
      "target_id": "sha-512",
      "title": "Semi-free-start collision on 38-step SHA-512",
      "goal": "collision",
      "attack_family": "differential",
      "setting": "Semi-free-start collision (chaining value controlled) on 38 of 80 steps of SHA-512",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2014-04-30",
      "authors": [
        "Maria Eichlseder",
        "Florian Mendel",
        "Martin Schläffer"
      ],
      "references": [
        {
          "title": "Branching Heuristics in Differential Collision Search with Applications to SHA-512",
          "url": "https://eprint.iacr.org/2014/302",
          "authors": [
            "Maria Eichlseder",
            "Florian Mendel",
            "Martin Schläffer"
          ],
          "eprint_id": "2014/302",
          "quote_location": "FSE 2014 / ePrint 2014/302, abstract (38-step semi-free-start collision at 2^40.5)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 38,
        "total_rounds": 80,
        "log2_time": 40.5,
        "time_unit": "38-step SHA-512 compression function evaluations",
        "attack_goal": "collision"
      },
      "notes": "Practical semi-free-start collision; standard-IV collisions in subsequent work reach 27 steps."
    }
  ],
  "frontiers": [
    {
      "id": "sha512-collision-step-margin",
      "target_id": "sha-512",
      "title": "Standard-IV collision margin beyond 27-38 of 80 steps",
      "description": "Automated differential search achieves practical standard-IV collisions up to 27 steps (2016/374) and semi-free-start collisions up to 38 steps (2014/302) for SHA-512 (39 steps for truncated SHA-512/224 and SHA-512/256), leaving over half of the 80 steps untouched.",
      "references": [
        {
          "title": "Analysis of SHA-512/224 and SHA-512/256",
          "url": "https://eprint.iacr.org/2016/374",
          "authors": [
            "Christoph Dobraunig",
            "Maria Eichlseder",
            "Florian Mendel"
          ],
          "eprint_id": "2016/374"
        },
        {
          "title": "Branching Heuristics in Differential Collision Search with Applications to SHA-512",
          "url": "https://eprint.iacr.org/2014/302",
          "authors": [
            "Maria Eichlseder",
            "Florian Mendel",
            "Martin Schläffer"
          ],
          "eprint_id": "2014/302"
        }
      ]
    },
    {
      "id": "sha512-preimage-step-margin",
      "target_id": "sha-512",
      "title": "Preimage margin beyond 50 of 80 steps",
      "description": "Biclique preimage attacks reach 50 steps (57 steps pseudo-preimage) at complexity 2^511.5, marginally faster than generic 2^512 search and 30 steps short of full 80-step SHA-512.",
      "references": [
        {
          "title": "Bicliques for Preimages: Attacks on Skein-512 and the SHA-2 Family",
          "url": "https://eprint.iacr.org/2011/286",
          "authors": [
            "Dmitry Khovratovich",
            "Christian Rechberger",
            "Alexandra Savelieva"
          ],
          "eprint_id": "2011/286"
        }
      ]
    }
  ],
  "dead_ends": []
}
