{
  "slug": "hash-functions",
  "name": "Hash security",
  "long_name": "Hash function security (preimage, second-preimage, PRF)",
  "family": "symmetric",
  "kind": "assumption",
  "one_line": "SHA-2 and SHA-3 cannot be inverted, and no second input with the same output as a given input can be found.",
  "since": "1979",
  "since_note": "Hash-based signatures: Lamport and Merkle, 1979. SHA-2: 2001. SHA-3: 2015",
  "structure": "None",
  "reduction": "Not applicable",
  "quantum": "Quadratic at most (Grover)",
  "break_impact": "Every scheme in this tracker is affected, since all use a hash function. Hash-based signatures are the schemes that require nothing else.",
  "related": [
    "random-oracle-model"
  ],
  "references": [
    {
      "title": "Bernstein et al.: The SPHINCS+ signature framework",
      "url": "https://eprint.iacr.org/2019/1086"
    },
    {
      "title": "Bernstein, Hülsing: Decisional second-preimage resistance: when does SPR imply PRE?",
      "url": "https://eprint.iacr.org/2019/492"
    },
    {
      "title": "Hülsing, Rijneveld, Song: Mitigating multi-target attacks in hash-based signatures",
      "url": "https://eprint.iacr.org/2015/1256"
    },
    {
      "title": "Buchmann, Dahmen, Hülsing: XMSS, a practical forward secure signature scheme based on minimal security assumptions",
      "url": "https://eprint.iacr.org/2011/484"
    },
    {
      "title": "Perlner, Kelsey, Cooper: Breaking category five SPHINCS+ with SHA-256",
      "url": "https://eprint.iacr.org/2022/1061"
    },
    {
      "title": "A Kelsey-Kohno attack variant against SHA-2 message digests in HSS/LMS and XMSS (2026 preprint)",
      "url": "https://eprint.iacr.org/2026/2635"
    }
  ],
  "status": "Standing",
  "status_class": "ok",
  "relied_on_by": [
    "ML-KEM",
    "ML-DSA",
    "SLH-DSA",
    "FN-DSA",
    "HQC",
    "LMS / HSS",
    "XMSS / XMSS^MT",
    "X25519MLKEM768",
    "FrodoKEM",
    "NTRU+",
    "SMAUG-T",
    "HAETAE",
    "AIMer",
    "FAEST",
    "MQOM",
    "SDitH"
  ],
  "page": "https://pqt-19a6ffd695e12a.pages.dev/assumptions/hash-functions/"
}
