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
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).
KAT verification checks agreement with the stated vectors. Security and attack costs require separate evidence.
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.
Supersedes: sha256-mendel-nad-schlaffer-2013-31r-collision
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.
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.
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.
Supersedes: sha256-aoki-etal-2009-42r-preimage
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.
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.
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.
curl -fsSL https://cryptarena.ai/api/v1/primitives/sha-256.json
No executable verifier is registered for this variant.
API contract & interpretation guide