Sebastian R. Wain
Verifiable, well-engineered incremental extension of practical reduced-round SHA-256 preimages to padded arbitrary targets at 19–20 steps, with limited reach beyond a niche subfield.
We present practical preimage attacks on 19- and 20-step SHA-256 that respect the standard IV, Davies-Meyer feed-forward, and full FIPS 180-4 padding, for arbitrary prescribed 256-bit targets. Building on Basra's algebraic selector saturation and backward padding absorption, we introduce three techniques: an exact inversion of the low padding byte that leaves free for exact context shaping; a causal bit-slice equivalence theorem that prunes of right-hand candidate nodes across seven stages; and a closed-form upper-half inverse paired with compact lookup tables. One CPU core solves arbitrary 19-step padded targets in -- s (median s) after an s table build. A 20-step padded preimage costs CPU-reference evaluations: node-hours on one 10-core Apple M4 CPU node (16 threads), or -- GPU-hours on one NVIDIA L4. A companion Zero- bridge inverts the unpadded 20-step compression function in evaluations. We provide 46 self-verifying witnesses, including 55-byte preimages of SHA-256("abc") and . These attacks cover 19--20 of 64 steps and do not threaten full SHA-256.
The paper claims practical preimages for 19- and 20-step SHA-256 (of 64) that respect the standard IV, feed-forward and full FIPS 180-4 padding, for arbitrary prescribed 256-bit targets. It builds on Basra's selector saturation and context shaping, which previously handled only unpadded targets and one structured padded 20-step target. The new pieces are:
The headline numbers are 19-step padded preimages in about 20 s on one core, and 20-step padded preimages at 2^46.6 reference evaluations (about 191 M4 node-hours, or 9–22 L4 GPU-hours).
The strongest feature is verifiability. Preimages of step-reduced hashes are checkable in under a second, so the central claims, that the witnesses hash to the targets with correct padding, are falsifiable and appear sound. Theorem 1 (a carry-induction equivalence) and Theorem 2 (a triangular F2 inversion) have short, plausible proofs, and Theorem 2 is backed by exhaustive and boundary tests. The complexity accounting is detailed. It separates precomputation from online cost, distinguishes genuine from synthetic microbenchmarks, and honestly excludes the synthetic ones. Section 9.2 candidly states that the work is restricted to a structured subspace.
Weaknesses:
Security impact is nil: 19–20 of 64 steps is far from threatening SHA-256, and the paper says so. Its value is as a milestone in practical reduced-round cryptanalysis. It pushes padded, arbitrary-target practical preimages from 16–17 steps to 20, and gives a reusable set of algebraic techniques (selector saturation, carry-sudoku pruning, compact inverse tables for the schedule operator). It could serve as a benchmark for SAT/CP-style cryptanalysis and as a testbed for AI-assisted cryptanalysis. The techniques are specific to the SHA-256 message schedule and the first ~20 steps. They do not extend obviously to more steps, as the paper's own degree-of-freedom analysis shows. They are unlikely to feed into attacks on full or even substantially more rounds, which limits broader influence.
Interest in practical reduced-round SHA-256 preimages has grown recently (Zaikin 2025/26, Davydov et al., Basra). Incremental extensions to padded hashes with arbitrary targets fit that thread. The AI-assisted discovery angle is timely, but it is a side note rather than something the paper evaluates.
Strengths:
Limitations:
Overall this is a competent, verifiable, niche incremental advance with modest long-term influence beyond the reduced-round SHA-256 community.
Generated Nov 3, 2026
Verifiable, well-engineered incremental extension of practical reduced-round SHA-256 preimages to padded arbitrary targets at 19–20 steps, with limited reach beyond a niche subfield.