Concrete primitive / sha-256

SHA-256

intact

256-bit Merkle-Damgård hash function standardized in NIST FIPS 180-4 using 64 compression steps over 32-bit words. Full-round security remains intact; reduced-round cryptanalysis reaches 38-39 steps for collisions and 45 steps for preimages (52 steps for pseudo-preimages).

Parameter specification

digest bits
256
block bits
512
word bits
32
rounds
64
construction
Merkle-Damgård with Davies-Meyer compression
standard
NIST FIPS 180-4
Specification sources
FIPS 180-4: Secure Hash StandardNational Institute of Standards and TechnologySection 6.2 (SHA-256)

Official known-answer tests

KAT verification checks agreement with the stated vectors. Security and attack costs require separate evidence.

No official KATs curated for this variant yet.

Attack evidence & timeline

5 matching claims

Mathematical cryptanalysis

Practical two-block collision for 38-step SHA-256

Record
collision · 38/64 rounds · Time 2^54.8 38-step SHA-256 compression function evaluations
Paper
Read evidence & notes for Practical two-block collision for 38-step SHA-256

Omer Goldzweig · · mathematical · differential

Goal: collision

Step-reduced SHA-256 (38 of 64 steps) starting from standard initial value

collision · 38/64 rounds · Time 2^54.8 38-step SHA-256 compression function evaluations · Memory unreported

Executed GPU/table-assisted search yielding an explicit colliding message pair for 38 steps from the standard IV.

Sources
Evidence breakdown
Source
preprint
Citation
Unchecked
Artifact
Unverified
Peer reproduction
Not reproduced
Formal verification
Unverified

Supersedes: sha256-mendel-nad-schlaffer-2013-31r-collision

39-step SHA-256 collision estimate below the birthday bound

Estimate
collision · 39/64 rounds · Time 2^108.8 39-step SHA-256 compression function evaluations
Paper
Read evidence & notes for 39-step SHA-256 collision estimate below the birthday bound

Jiaying Gong, Yongzhuang Wei, Fengrong Zhang, Bohua Wei · · mathematical · differential

Goal: collision

Step-reduced SHA-256 (39 of 64 steps) using joint message-word pinning

collision · 39/64 rounds · Time 2^108.8 39-step SHA-256 compression function evaluations · Memory unreported

Preprint estimate pinning expanded message words W_16 and W_17; remains 25 steps short of full 64-step SHA-256.

Sources
Evidence breakdown
Source
preprint
Citation
Unchecked
Artifact
Unverified
Peer reproduction
Not reproduced
Formal verification
Unverified

Two-block collision attack on 31-step SHA-256

Estimate
collision · 31/64 rounds · Time 2^65.5 31-step SHA-256 compression function evaluations
Paper
Read evidence & notes for Two-block collision attack on 31-step SHA-256

Florian Mendel, Tomislav Nad, Martin Schläffer · · mathematical · differential

Goal: collision

Step-reduced SHA-256 (31 of 64 steps), standard IV, two-block local collision

collision · 31/64 rounds · Time 2^65.5 31-step SHA-256 compression function evaluations · Memory unreported

Paper also demonstrates practical collisions on 28 steps and semi-free-start collisions on 38 steps.

Sources
Evidence breakdown
Source
peer reviewed
Citation
Unchecked
Artifact
Unverified
Peer reproduction
Not reproduced
Formal verification
Unverified

Biclique preimage attack on 45-step SHA-256

Estimate
preimage · 45/64 rounds · Time 2^255.5 45-step SHA-256 compression function evaluations
Paper
Read evidence & notes for Biclique preimage attack on 45-step SHA-256

Dmitry Khovratovich, Christian Rechberger, Alexandra Savelieva · · mathematical · biclique

Goal: preimage

Step-reduced SHA-256 (45 of 64 steps) preimage; paper also reaches 52 steps for pseudo-preimages

preimage · 45/64 rounds · Time 2^255.5 45-step SHA-256 compression function evaluations · Memory unreported

Extends to 52 steps for compression-function pseudo-preimage attacks. Memory cost omitted here.

Sources
Evidence breakdown
Source
peer reviewed
Citation
Unchecked
Artifact
Unverified
Peer reproduction
Not reproduced
Formal verification
Unverified

Supersedes: sha256-aoki-etal-2009-42r-preimage

Meet-in-the-middle preimage attack on 42-step SHA-256

Estimate
preimage · 42/64 rounds · Time 2^251.7 42-step SHA-256 compression function evaluations
Paper
Read evidence & notes for Meet-in-the-middle preimage attack on 42-step SHA-256

Kazumaro Aoki, Jian Guo, Krystian Matusiewicz, Yu Sasaki, Lei Wang · · mathematical · meet_in_the_middle

Goal: preimage

Step-reduced SHA-256 (42 of 64 steps) using partial-fixing and partial-matching

preimage · 42/64 rounds · Time 2^251.7 42-step SHA-256 compression function evaluations · Memory 2^12

Paper also reports a 43-step preimage variant; memory cost reported as order of 2^12.

Sources
Evidence breakdown
Source
peer reviewed
Citation
Unchecked
Artifact
Unverified
Peer reproduction
Not reproduced
Formal verification
Unverified

Open frontiers

Collision step margin beyond 39 of 64 steps

Practical standard-IV collisions reach 38 steps and below-birthday estimates reach 39 steps, leaving a 25-step margin to the full 64-step SHA-256 compression function.

Collision Attacks on SHA-2: 39-Step SHA-256 below the Birthday BoundJiaying Gong, Yongzhuang Wei, Fengrong Zhang, Bohua Wei

Preimage and pseudo-preimage margin beyond 45-52 steps

Meet-in-the-middle and biclique attacks reach 45 steps for preimages (52 steps for pseudo-preimages) with complexity near the 2^256 generic bound. Extending these techniques over full 64-step SHA-256 remains open.

Bicliques for Preimages: Attacks on Skein-512 and the SHA-2 FamilyDmitry Khovratovich, Christian Rechberger, Alexandra Savelieva

Documented dead ends

No dead ends documented yet. A failed approach is meaningful only within its stated scope.

Specification JSON and verifiers

/api/v1/primitives/sha-256.json
curl -fsSL https://cryptarena.ai/api/v1/primitives/sha-256.json

No executable verifier is registered for this variant.

API contract & interpretation guide

Loading catalog…

↑ ↓ navigate · Enter open · Esc close · 0 results (up to 40)