Manuscript Offprint
arXiv:2611.00512Practical Preimages for 19- and 20-Step SHA-256 with Standard Padding
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
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 [9], 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 99.74% 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 1.2-86.4 s (median 19.5 s) after an 18 s table build. A 20-step padded preimage costs CPU-reference evaluations: 191 node-hours on one 10-core Apple M4 CPU node (16 threads), or 9.0-22.2 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.
Keywords: SHA-256 · Preimage attack · Reduced-round cryptanalysis · FIPS 180-4 padding · Algebraic context shaping · Bit-slice pruning
1 Introduction
SHA-256 [1] hashes an -bit message by appending mandatory Merkle–Damgård strengthening (FIPS 180-4 §5.1.1)—a single '1' bit (0x80 at a byte boundary), zero padding bits, and the 64-bit big-endian bit length in the final two 32-bit words and —before applying a 64-step Davies–Meyer compression function initialized to the standard initial value IV.
In the cryptanalysis of step-reduced SHA-256, a persistent divide has separated theoretical attacks from practical (demonstrated) preimages:
-
Theoretical preimage and collision attacks: Splice-and-cut meet-in-the-middle (MitM), partial-matching, biclique, and MILP-assisted attacks respect FIPS 180-4 padding from 24 steps [2] through 41–43 steps [3, 10], 45 steps [4], and 46–47 steps [8], with related differential and semi-free-start collision advances reaching 24–39 steps for SHA-256 (and 40 steps for SHA-224) [11, 12, 14, 15] building on the generalized characteristic framework introduced for SHA-1 in [13]. Unlike SHA-1, where full-round collisions have been practically computed [17, 18], all 24–47-step SHA-256 preimage attacks require between and compression evaluations and remain strictly theoretical.
-
Practical (demonstrated) preimages: Algebraic and SAT-based encodings produced padded preimages up to 16 steps [5] and three mailing-list challenge messages at 17 steps (posted without an attack specification) [16]. More recently, SAT/Cube-and-Conquer [6,
7] produced verified preimages at 18 and 19 steps for the unpadded compression function (where all 16 message words are unconstrained 32-bit degrees of freedom), and Basra [9] introduced algebraic selector saturation and context shaping to solve 19- and 20-step unpadded compression targets as well as a 55-byte 20-step padded preimage for a structured target (padded_r20 in [9], dated 17 October 2026).
For a single-block 55-byte (-bit) padded message, FIPS 180-4 [1] fixes 72 bits at the end of the message block:
In backward-and-forward inversion of steps 0..18 (19-step) or 0..19 (20-step), are tightly coupled with the message schedule expansion and the internal state window (). Satisfying all 72 padding bits simultaneously with the selector-saturation and majority-absorption conditions [9] that decouple the left and right halves of the compression function is the central barrier to inverting arbitrary externally prescribed 256-bit targets for the padded 19- and 20-step hash functions.
- 20-Step Single-Block Padded Preimage for FIPS 180-4 Test Vector :
Target H* = ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
55-Byte Message M = edf6e70a7001ae71b900f18119aaa1fdf6c1179b4268891262a9539
be04d41236685e0c102e0ad23165e8b7157669819302ddcb3c68226
Padded Block W0..7 = edf6e70a 7001ae71 b900f181 19aaa1fd f6c1179b 42688912 62a9539b
e04d4123
Padded Block W8.15 = 6685e0c1 02e0ad23 165e8b71 57669819 302ddcb3 c6822680 00000000 000001
b8
Verification : SHA256_20(M) == H* (W13 & 0xff = 0x80, W14 = 0, W15 = 440 bits)
- 19-Step Single-Block Padded Preimages for and :
'abc' 55B Message = 8ca254f8d04dd3fb04efaad6b1867588ffe833de49a144fedbf1839
422892dc9f5a9158d8fc063290a14a9a6c55dfa245642a0247ec45a
0^256 55B Message = fc0c9d8eafb2fa329af316940c42a5eb9773cec39e4f7e396182628
7ae767638f92d4ce5fc5eb8cabd7606409364dda27a6c1bb5220246
Verification : SHA256_19(M_abc) == SHA-256("abc") and SHA256_19(M_zero) == 0^256
- 20-Step Single-Block Padded Preimage for All-Zero Digest :
Target H* = 0000000000000000000000000000000000000000000000000000000
55-Byte Message M = ec531306c85ad4a4ad211d2e1a03ece4d0ad4a0e6b4c2b9436b3bab
dcbd520597196f52c042b8cd95f1a39f71b58b47b0647c78e65416f
Padded Block W8.15 = 7196f52c 042b8cd9 5f1a39f7 1b58b47b 0647c78e 65416f80 00000000 000001
b8
Verification : SHA256_20(M) == 0^256 (W13 & 0xff = 0x80, W14 = 0, W15 = 440 bits)
- 20-Step & 19-Step Two-Block (119-Byte, Plain-ASCII Block 1) Padded Preimages for :
Target H* = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 Block 1 (64B ASCII) = "This first block is plain text; the second one was computed....." 20-Step Block 2 M2 = df28e21bb6b61202ba87baa72096ee0a3ac325cf1f12056e7cfe2ae 1735b4d106b8f6e0b22eb9b504ed9368991944b0a115a934f17c2c4 19-Step Block 2 M2 = fe409cc930128a720481f86c0503d7a018519a129df449139720bb5 eef520895f8b515685bb404817be301880f0caabe02fc9e5f1c95c0 Padding Suffix : ...80 00000000 000003b8 (L = 952 bits = 119 bytes; full Merkle-Damgard 2-block chaining)
Table 1.1: Comparison of theoretical and practical (demonstrated) preimage attacks on step-reduced SHA-256.
| Work & Reference | Steps | Attacked Object | FIPS 180-4 Padding? | Target Type | Complexity / Runtime | Demonstrated Witness? |
|---|---|---|---|---|---|---|
| Iwato & Satohara [2] | 24 | Hash (1 block) | Yes | Arbitrary | evaluations | No (theoretical) |
| Souah, Wang & Aoki [10] | 41 | Hash | Yes | Arbitrary | evaluations | No (theoretical) |
| Aoki et al. [3] | 43 | Hash | Yes | Arbitrary | evaluations | No (theoretical) |
| Khorvatovich et al. [4] | 45 / 52 | Hash / Compression (pseudo) | Yes / No | Arbitrary | evaluations | No (theoretical) |
| Guo et al. [8] | 46 / 47 | Hash | Yes | Arbitrary | evaluations | No (theoretical) |
| Houmirellam et al. [5] | 16 | Hash (406-bit) | Yes | Fixed | (Table 5.4) | No (not printed) |
| McDair [16] | 17 | Hash (310 / 503) | Yes | 1 challenge | Unspecified (no method) | Yes (1 monogre) |
| Davydov et al. [6] | 17 / 18 | Compression | No | All-ann (00..00) | Seconds (SAT) | Yes (unpadded only) |
| Zehin [7] | 19 | Compression | No | Elapsed (11..11) | 16 h 33 min on 102 cores (SAT) | Yes (unpadded only) |
| Basra [9] | 19 / 20 | Compression & Structured Padded Compression | No (19-20) / Yes (20 structured) | Arbitrary (unpadded) / Structured (padded 20) | < 25 s (ex on H10) (18-step); 20-step unpadded & structured padded | Yes (unpadded & 1 structured padded 20-step) |
| This Work (src/pax10_2000_ext.c) | 20 | Compression | Yes | denominator + 12 Labels | 21.1 min expected ( CPU-ref; 21.1 s/s data, 10-core M4 CPU) | Yes (10 witnesses, §6.2-§6.4) |
| This Work (src/pax10_c & Eustet D = 0) | 19 | Full Hash (50B / 110B) | Yes [3] | 00..00 + 14 Labels + ** | 1.2-05.4 s + 1-core search (median 18.45 s [14.5 s] + 10 s build) | Yes (10 witnesses, §6.2-§6.4) |
| This Work (src/pax10_padded_target_c / cdaex.c) | 20 | Full Hash (50B / 110B) | Yes [2] | 00..00 + 14 Labels + ** | 16.1 min + 1.1s CPU ( CPU-ref); approx. CPU: 8.00-22.10 s 1.1 L4 | Yes (10 witnesses, §6.1-§6.4) |
(Note on Table 1.1: In Khovratovich et al. [4], 45 steps is a full hash preimage and 52 steps is a compression pseudo-preimage; in Basra [9], padded_r20 solves a structured digest [c799d851...] constructed with and . For our solvers, we distinguish a chosen-target 19-step padded preimage—solving a prescribed 19-step digest where are fixed, taking 1.2-86.4 s of single-core search time [median 19.45 s ≈ 19.5 s] in src/pre19.c after a 16.8-19.1 s [≈ 18 s] one-time -entry table build—from a 19-step bridge candidate (sol19) generated at 6,242.8 sol19/s on one 10-core Apple M4 CPU node [16 threads] in solve20_padded_fast.c [or 53,847.5-132,888.7 sol19/s in supplementary GPU slice telemetry in solve20_padded_cuda.cu] during a 20-step search where is free. Elapsed-time proxy CPU-ref multiplies wall-clock seconds by the measured same-host 10-core Apple M4 CPU [16 threads] 20-step SHA-256 reference rate of 151.25 M evals/s, where 1 node-hour (1 node-h) = CPU-ref; see §6.5.)
1.2 Technical Contributions and Organization
-
Closed-Form Pivot Inversion of FIPS 180-4 Padding Compatible with Exact Context Shaping (§3–§4, [E15]–[E22]): Basra [9] showed that the FIPS 180-4 padding words ( ) can be absorbed backward into at the cost of three context words and demonstrated a 55-byte 20-step padded witness for a structured target (padded_r20 in [9]). For arbitrary externally prescribed 256-bit targets, we show how to absorb and into while inverting directly via 8 bit-disjoint pivot bits (f18, 25..31) of with 100% inner-loop validity—leaving unconstrained by padding absorption so they can satisfy exact shaping alongside Ch-annihilation ( , ).
-
Causal Bit-Slice Right-Context Pruning ("Carry-Sudoku", §5, [E23]–[E25]): We prove Theorem 1 ([E23]): decomposes into a lower-triangular carry condition (where is the bitwise XOR mask) that is completely independent of and , and a complementary condition . Pruning across 7 causal bit-slices reduces the candidate space to an average of 43,580 node evaluations per block node reduction across all 7 stages, evaluating only on the -2,149 full-carry survivors per block, i.e., 99.99% pre- pruning) with 100% completeness across each -candidate block (and the estimated exact contexts per 20-step target).
-
Closed-Form Reconstruction, Compact Tables ("Slot-Sudoku"), and Twin Coalescing (§6, [E27]–[E37], [E42]–[E45]): We prove Theorem 2 ([E28]–[E29]), recovering the upper 16 bits of in closed form in registers with zero lookup tables. Pairing this with compact tables achieves 6,242.8 sol19/s on our host-verifiable 10-core Apple M4 CPU solver (solve20_padded_fast.c, 16 threads), and 53,847.5-132,888.7 sol19/s on genuine contexts in supplementary 1× NVIDIA L4 GPU slice telemetry (solve20_padded_cuda.cu).
-
Zero- Bi-Directional Bridge, Complete 46-Witness Suite, and Construction-Specific Bottleneck Analysis (§7–§9, [E38]–[E41]): We present a Zero- bridge for unpadded 20-step compression (§7), provide the complete, un-truncated hex witnesses for all 46 distinct 19-step and 20-step single-block padded, two-block chosen-ASCII-prefix padded, unpadded, and regression benchmarks (§8, 48 checks including "abc" demo/benchmark overlap), and analyze 15 explored sub- algebraic and statistical directions characterizing the degree-of-freedom conservation laws of the Carry-Sudoku / Slot-Sudoku architecture (§9.2).
2 Preliminaries and the Scalar -Sequence Formulation
All arithmetic is modulo . Denote 32-bit right rotation by and logical right shift by . The SHA-256 boolean and -linear functions [1] are:
For step indices , the message schedule expands via:
Following [9], we define the coupled schedule operator by:
2.1 Reduction to the Scalar -Sequence ([E5]–[E7])
Let be the 8 working registers after step (with denoting IV). Because each step shifts and , the entire 8-register trajectory across steps is uniquely parameterized by a single scalar sequence [3, 9]:
• Initial Boundary (): Fixed uniquely by IV (window_from_state in solve20_padded_fast.c):
• Terminal Boundary (): For an -step target digest , Davies-Meyer feed-forward fixes the terminal state , which uniquely determines the 8 terminal words :
- Internal State & Message Recovery: For every step index and , the -register is an exact function of five consecutive -words , and the message word is an exact function of together with five -words , spanning nine consecutive -words when expanded; E_arr and Wt_arr in solve20_padded_fast.c):
(E7)
Thus, for (resp. ), the only free internal state variables between the IV boundary and the target boundary are the 12 words (resp. 11 words ). Any assignment to these words automatically hashes to after steps if and only if the recovered message words from [E7] satisfy the message schedule equations [E3] for and the FIPS 180-4 padding constraints [E1].
3 Selector Saturation and Exact Context Shaping
In general, depend on the Left variables both through the early message words on the right-hand side of [E3] and through via the state words .
Following Basra's selector-saturation principle [9], we pin the two middle selector registers:
Because , setting blocks inside , , and . Expanding [E7] at s = 9, 10 expresses and purely in terms of the Right words :
3.1 Exact Shaping vs. Chosen-Target 19-Step Shaping ([E10]–[E14])
Let denote the bitwise XOR difference between and (note that ). Under [E8] (), and . Expanding [E7] at isolates how depend on the Left variables [9]:
where depend only on the Right context .
When we enforce exact context shaping:
the majority term in becomes identically constant for every because , yielding with zero leakage. (For a chosen 19-step target , where are all fixed by [E6], we leave
free instead of setting , since Step 20 is absent and is not required. With free , one can either enforce exact shaping —which produced our 19-step witness in §8.2—or use soft shaping popcount() as in src/pre19.c, which enlarges the context pool by and generated the 14 public-label 19-step witnesses in Table 8.3 in 1.2-86.4 s of single-core CPU search time per target after a one-time 16.8-19.1 s table build.)
Simultaneously, whenever the remaining nonlinear condition in ([E10]) holds, the middle schedule words reduce to exact affine forms in while are 100% independent of :
where inside and inside cancel identically in under the Level-3 majority-absorption condition:
Table 3.1 summarizes the resulting bit-level state conditions across all 20 steps in the format of [3, 8, 11].
Table 3.1: Bit-level state conditions, neutral/coupled words, and schedule constraints across steps .
| Step Range s | Register Condition | Register Condition | Message Word Role & Constraint | Governing Equation |
|---|---|---|---|---|
| -7...0 | Fixed by | Fixed by | — (Initial boundary) | [E5] |
| 1 | Free root | (Root of 3-level Left tree) | [E7], [E14] | |
| 2,3 | [E14], [E34] | |||
| 4 | (Maj ) | [E13], [E14] | ||
| 5,6 | Exact Shaping: ( ) | (coupled) | tested at step 20 via ; free | [E11], [E36] |
| 7,8 | Closed-form , | (absorbed) | free; in cancels +Maj in inside | [E17], [E22] |
| 9,10 | free; (under [E13]) | [E8], [E12] | ||
| 11,12 | fixed by , seed | (zero leakage into ) | [E12], [E16] | |
| 13,14 | fixed by | (7-stage causal), | ; Padding: | [E12], [E21] |
| 15,16 | fixed by | , | Padding: , (440) | [E1], [E22] |
| 17...20 | fixed by | fixed | Schedule words define | [E6], [E14] |
For , rearrangement of [E7] writes , where . Setting and substituting together with [E12] (, , ) into the message schedule equations [E3] for rewrites them as three chained -inversions:
4 Closed-Form Pivot Inversion of FIPS 180-4 Padding (W13..W15)
To construct a valid 55-byte single-block padded message ([E1]), the Right variables must simultaneously satisfy , , , ([E8]), and ([E11]). Basra [9] noted that can be absorbed backward into at the cost of three context words; below we show how to absorb and into while inverting directly via 8 bit-disjoint pivot bits of , leaving unconstrained by padding absorption so they can satisfy exact shaping ([E23]).
4.1 Closed-Form Absorption of and ([E15]–[E17])
Given (for , where are fixed by ), the registers are determined via [E7]:
Expanding and via [E7] isolates and as closed-form functions of a single 32-bit word (equivalently ):
(E16)
Then and are recovered in closed form:
Thus every choice of satisfies and identically.
4.2 Closed-Form Pivot Assignment for ([E18]–[E22])
Since , the formula for ([E7]) is:
Reducing [E18] modulo 256:
-
Because Ch is bitwise and modular subtraction propagates carries only from lower bits to higher bits, the low 8 bits and in [E16] depend only on the low 8 bits .
-
Once is chosen, the required low byte of is fixed:
- Inspecting bit of :
• For , , which appears nowhere else in [E20].
• For , , while appears nowhere else in [E20].
• Furthermore, bits 19..24 of do not appear anywhere in [E20] and do not affect .
Therefore, for any assignment to bits 0..17 of ( ), the 8 pivot bits (bit 18 and bits 25..31) are uniquely determined in closed form:
while bits 19..24 remain 6 completely free degrees of freedom where 100% of assignments satisfy .
Finally, in solve20_padded_fast.c and solve20_padded_cuda.cu, we apply Channihilation by pinning (fixing from via [E15]) and setting . This simultaneously forces (making and 100% constant across all choices of ), simplifies , and linearizes :
5 Causal Bit-Slice Pruning: 7-Stage Right-Context Search
Even with [E21]–[E22], each defines padded candidates for , and testing ([E11]) naively requires evaluating and across those candidates. We now prove that causal lower-triangular bit-slice pruning—which we term Carry-Sudoku—reduces the candidate tree to an average of 43,580 node evaluations (99.74% pruning, or fewer evaluations) before or is ever computed.
5.1 The Exact Equivalence Theorem ([E23])
Theorem 1 (Carry-Sudoku Exact Equivalence). Under [E9], define , the bitwise XOR mask , and (mod ). Then:
Proof. By [E9], . Decompose bitwise with respect to :
• On bit positions where ( ), is independent of .
• On bit positions where ( ), .
Hence . Now compare with by induction from bit to 31:
• Suppose on bits , so the incoming carry into bit of equals the incoming carry into bit of :
• If , then , so . Thus , and when , the outgoing carry from bit is , which is identical to the outgoing carry of where , i.e. .
• If , then , so and the outgoing carry is again identical to that of . Thus .
5.2 7-Stage Causal Bit-Slice Pruning ([E24]–[E26])
Theorem 1 has a decisive algorithmic consequence: the first condition in [E23],
does not depend on or at all, and because , , and involve only bitwise operations and modular additions/subtractions, the lowest bits of , and depend exclusively on the lowest bits of .
Consequently, ctx_worker (solve20_padded_fast.c) on CPU and ctx_gen_cuda_kernel / ctx_gen_fast_cuda_kernel (solve20_padded_cuda.cu, solve20_padded_cuda_prod.cu) on GPU assign from LSB to MSB in 7 exact causal stages (formalized in Algorithm 1):
[Equation (E26) retired in Round 2: former heuristic pre-s19 window check omitted for 100% completeness.]
(E26)
In Stage 1d, once bit 13 of is chosen, bit 18 of is immediately determined by ([E20]), allowing Stage 1e to test a 19-bit Carry-Sudoku mask (0x7ffff) on 18 chosen bits before is evaluated. Once Stage 1e fixes bits 25..31 via [E21], Stages 2a and 2b sweep the remaining 6 free bits 19..24 (s19 and s22) using a 22-bit mask (0x3ffff) followed by the full 32-bit Carry-Sudoku check and exact equivalence [E23]. (Note: we do not pre-filter bits 13..15 or 3..4 of [E26]) before s19 and s22 are chosen, because bits 19..24 of enter Maj( ) and with carry propagation; omitting any pre-s19 window check guarantees 100% completeness across each -candidate block by Theorem 1 ([E23]–[E25]), confirmed with zero missed contexts against exhaustive brute-force across candidate blocks and demonstrated on seed block [where 2 of 8 exact contexts were rejected by [E26]] in solve20_padded_fast.c and verify_all_witnesses.py §8.)
Algorithm 1: Causal 7-Stage Carry-Sudoku Right-Context Generator
Input: Target terminal words a_{13}..a_{20} = H* - IV, seed range a_{12} in [0, 2^32]
Output: Reservoir R of exact D_shape = (a_5 ^ a_6) == 0 FIPS 180-4 padded contexts
-
for each seed a_{12} in parallel do
-
Set e_{15} = 0xFFFF; compute a_{11} via [E15] and set a_{10} = a_{11} // [E22] Ch-annihilation
-
Compute constants e_{16}, e_{14}, e_{12} = c_{e12} - e_{14}, and a_8 = const // [E16] - [E17]
-
Sweep bits 0..3 and 4..7 of e_{13} filtering ((S ^ X) & D & mask) == 0 (masks 0xf, 0xff)
-
Compute low-byte padding target R_lo = (c_{W13} - Ch(e_{13}), e_{12}, e_{11}) - 0x80) mod 256 // [E19]
-
Sweep bits 8..11, 12..14 (fixing bit 18 via [E20]), and 15..17 filtering masks 0xff, 0 x7fff, 0x7fff
-
Fix bits 25..31 of e_{13} in 0(1) via Delta = (R_lo ^ Sigma_1(e_{13,base})) mod 256 // [E21]
-
for s_{19} in 0..7 filtering ((S ^ X) & D & 0x3ffff) == 0 do // Stage 2a
-
for s_{22} in 0..7 do // Stage 2b
-
if ((S ^ X) & D) == 0 and ((a_6 ^ S) & ~D) == 0 then // Theorem 1 [E23]
-
Append context (a_5..a_{12}, T_{16}, T_{17}, T_{18}, T_{19}) to Reservoir R
Across 10,000 random blocks, Algorithm 1 evaluates an average of only 43,580 inner-loop nodes per block (), generating 266.8 exact padded contexts per second on one 10-core Apple M4 CPU node (16 threads, 3.75 ms/context, solve20_padded_fast.c) and 29,310-114,507 contexts per second in supplementary NVIDIA L4 GPU telemetry (solve20_padded_cuda.cu, 8.73-34.1 s/context).
6 Slot-Indexed Tables & Closed-Form Inverse for Left-to-Right Chains
With an exact padded Right context in hand, we solve the three chained equations [E14] from Left to Right.
6.1 Closed-Form Zero-Table Inverse (reconstruct_u, [E27]–[E29])
Storing full 32-bit preimages of requires 4 bytes per slot. Splitting where and , note that , so carry propagation from bits 0..15 into bit 16 of is purely additive (XOR) at bit 16: . Since , rearranging terms yields the exact 17-bit identity:
Rather than inverting [E27] solely with a 128 KiB lookup table (REC_HI16[rec_idx(ulo, y)] in solve20_padded_fast.c), we prove that [E27] has an exact register closed form with zero lookup tables:
Theorem 2 (Closed-Form Inverse of Upper 16 Bits). Let , and let have bits in positions 16..31 (with ). Define the linear operator on upper-half words . Then is a triangular bijection on bits 16..31 with , where is given in closed form by:
and the full 32-bit preimage is recovered in registers (reconstruct_u_dev in solve20_padded_cuda.cu and reconstruct_u_e28 in test_all_12_theories.c, using 5 logical stages / ~19 bitwise/ALU operations and zero lookup tables):
Proof. By [E27] and , for and . Since , on bits 0..16 the three terms of are:
Defining so that for , for , and yields:
-
For , , giving (in particular, , , , and ).
-
For , and , isolating .
-
For , . Since , we obtain , which at bit position 16 is .
Proved algebraically above for all and verified empirically on pseudorandom words plus systematic boundary/carry cases (including ) in test_all_12_theories.c (test_theory_01) with 0 mismatches.
6.2 Slot-Indexed Tables: 6.00 GiB 2-Tier Nested 4-Slot EDF Table & 8.00–32.00 GiB Direct Tables ([E30]–[E33])
Over all inputs , the exact, race-free preimage multiplicity histogram of is:
-
(36.6327% of have 0 roots, vs. Poisson(1) ),
-
(36.9410%), (18.4755%), (6.1045%),
-
(1.4996%), (0.2923%), (0.0471%),
-
(0.0065%), (0.0008%), and (0.0001%; specifically , , , , , , with tail root weight ),
satisfying the exact conservation identities and . To avoid conflating distinct sources of root loss, we separate three effects: (i) unconstrained -slot capacity , which equals for (72.399% 3-level survival), for (93.384% 3-level), and for (98.777% 3-level); (ii) empty-slot sentinel exclusion ( of inputs have , shifting the stored root count by at most 65,536, e.g. to 89.7924% for , alongside historical pre-CAS finite-pass table builds that recorded for and for ); and (iii) quad-shared 12-slot sliding/cuckoo eviction in the compact 6.00 GiB format. By Theorem 2, storing only the lower 16 bits halves the memory footprint of every table tier:
- 6.00 GiB 2-Tier Nested 4-Slot EDF + Cuckoo-Sudoku Table (solve20_padded_fast.c): Designed for 16 GiB laptops ( entries of uint16_t = 6.00 GiB), where every 16 consecutive values (a quad ) share 12 contiguous 16-bit slots:
- Earliest-Deadline-First (EDF) 3-Slot Sliding Window ([E30]): At Levels 1 and 2, each probes a 3-slot window within its 12-slot quad at offset:
• Cuckoo-Sudoku Eviction & Nested 4th Slot ([E31]): During construction, a cuckoo-relocation pass (sudoku_upgrade_worker_6gb and tier2_nest4_quad_worker) packs displaced preimages across each 12-slot quad, placing any 4th root at b[(y ∧ 15) ≥ 13 ? −1 : 3] (probed only when all 3 primary slots are valid roots of y). At Level 3, all 12 slots of the quad (3 x uint64_t) are tested simultaneously via 64-bit SWAR ([E35]):
- 8.00 GiB / 16.00 GiB Direct-Indexed 2-Way GPU VRAM Tables (solve20_padded_cuda.cu): Built natively in GPU VRAM in 3.11 seconds, storing up to two roots per y (unconstrained 2-way capacity 3,856,601,437/2^{32} = 89.7935% / 3-level survival 72.399%, or 89.7924% with u_lo = 0 sentinel exclusion):
- 32.00 GiB Direct-Indexed 4-Way Exact CPU Table (H_exact32[y], -table-gb 32): Stores up to four 16-bit roots per y in one uint64_t (32.00 GiB table + 4.00 GiB count array + 16.00 GiB optional table = 52.00 GiB persistent RAM, 68.00 GiB peak during parallel radix sort), achieving 99.5906% unconstrained 4-way capacity (98.777% 3-level survival, or 4,276,521,180/2^{32} = 99.5705% / 98.717% 3-level in the pre-CAS u_lo = 0-excluded build):
6.3 The 3-Level Tree Search, 64-Bit SWAR Level-3 Filter, and Terminal 20-Step Bijection ([E34]–[E37])
For each and each Right context in a batch of size B:
- Level 1 & Level 2 with Early Hamming Pruning ([E34]): From , look up , set , look up , and set . Before computing or issuing Level-3 DRAM loads, we prune any whose majority mask has Hamming weight exceeding :
eliminating 81.15% upper tail to 70.17% of Level-3 lookups.
- Level 3: 64-Bit SWAR Pre-Reconstruction Filter & 19-Step Bridge Candidate Stream ([E35]): Because the majority condition ([E13]) is lower-triangular on bits 0..14, any candidate must satisfy before is reconstructed. In the 6.00 GiB table, we test 4 slots at a time in a single 64-bit word w using SWAR carry-bit detection (K7 = 0x7fff7fff7fff7fff, K8 = 0x8000800080008000):
(E35) rejecting > 99% of 12-slot quads in 3 register operations. Every candidate passing the full 32-bit check with is a schedule-consistent 19-step padded bridge candidate (sol119, incremented via local_sol119++) satisfying for the current right-hand context.
- Terminal 20-Step Filter & Exact Bijection ([E36]–[E37]): In the 20-step solver (where are pinned by ), for each sol119 bridge candidate we recover via [E7] and test the step-19 schedule equation:
Viewing as a matrix over , we have :
6.4 Exact- Twin Coalescing, L2 Cache Tiling, and Lower-Triangular Pruning ([E42]–[E45])
To maximize memory-system throughput across Levels 1-3 on GPU (solve20_padded_cuda_prod.cu, solve20_padded_cuda.cu), we combine four techniques (formalized in Algorithm 2):
- L2-Localized Level-1 Bridge Extraction (extract_11_bridges_kernel, [E42]): The NVIDIA L4 GPU features a 48 MiB L2 cache. Because includes the 32-bit rotation , is not lower-triangular in the 2-adic bit order of (for example, whereas , which differ in bit 0). Instead of assuming lower-triangularity of , extract_11_bridges_kernel partitions global-memory lookups into address tiles [Tile_{lo}, Tile_{hi}] of width (at 4 bytes per uint32_t entry in the 16.00 GiB 2-Way table, an L2-resident 16-32 MiB tile spans indices across 512-1024 tile passes, whereas indices spans a 2.00 GiB slice across 8 passes) and tests the target index in registers before issuing a global memory read:
converting uncoalesced 16.00 GiB DRAM accesses into localized tile passes across the sweep (without reducing total work summed over all passes).
- Exact 32-Bit Twin Coalescing (twin2) vs. 4-Way Reservoir Sampling (single4, [E43]): Across all seeds , a 20-step target has an estimated universe of exact right contexts (or if the optional Stage-2 heuristic is enabled). Sorting a reservoir of contexts by yields exact 32-bit twin pairs across (or pairs in ) where (sweep_exact16_cuda_kernel in solve20_padded_cuda_prod.cu and solve20_padded_cuda.cu). Both contexts in each genuine twin pair share the exact same Level-1 lookup (0.50 Level-1 lookups/context), solving 12 of our 16 padded 20-step targets directly. For the remaining 4 targets (16/16 total), the non-twin 4-way reservoir kernels (sweep_20_warp_13_prod_kernel in solve20_padded_cuda_prod.cu and sweep_exact16_cuda_kernel in solve20_padded_cuda.cu) sample from the reservoir
U using 4-way register-prefetched Level-1 batches (achieving 53,847.5-73,560.5 sol19/s on the 6.00 GiB table and 132,888.7 sol19/s on genuine Exact- twin pairs in the 16.00 GiB table on L4 GPU):
across genuine twin pairs ( ) 0.50 L1 lookups per context.
(E43)
(Note: whereas 32-bit collisions occur naturally in , joint 64-bit ( ) collisions require a birthday pool of contexts; all witness runs and primary complexity figures in this paper use only genuine, unmutated contexts.)
- Pre-ulo2 16-Bit Lower-Triangular Hamming Pruning ([E44]): Before reconstructing the upper 16 bits of via [E29], we exploit lower-triangularity of modular addition on bits 0..15:
For a uniform 16-bit mask, Binomial(16, 1/2) rejects 39,203/65,536 ≈ 59.82% of Level-2 candidates at and 2,517/65,536 ≈ 3.84% at prior to upper-half reconstruction.
- The 4-Round Crossed Carry-Sudoku Spine (, [E45]): Crossing the shaping constraint across 4 consecutive rounds by pinning (cross_round_4step_sudoku_direct_kernel in solve20_padded_cuda.cu) collapses all four majority functions to and makes direct functions of with zero table lookups:
Because spends 96 Left bits, the 3 schedule equations become a 96-bit Right filter, illustrating the degree-of-freedom conservation trade-off (§9.2).
Algorithm 2: Left-to-Right Slot-Sudoku Tree & Terminal 20-Step Preimage Solver
Input: Context batch C of size B=128 (T_{16}) twin-coalesced or 4-way batched), 2-way table H_ulo
Output: Stream of 19-step bridge candidates (sol19) and matching 20-step padded preimage M*
-
for each root a_1 in [0, 2^32] and context group in C do
-
Compute F_1(a_1) and G_1(a_1); prefetch Level-1 entries from H_ulo[T_{16}] + F_1(a_1)] // [E14], [E43]
-
for each valid Level-1 root W_1 do
-
Set a_2 = W_1 + G_1(a_1); compute G_2(a_1, a_2); load u_{10,2} from H_ulo[T_{17}] + G_2 - W_1]
-
if popcount((~((u_{10,2} + G_2) ^ a_5)) & 0xFFFF) <= w_{10,thresh} then // [E44]
-
Reconstruct W_2 via [E28]-[E29]; set a_3 = W_2 + G_2 and M_3 = ~(a_3 ^ a_5)
-
if popcount(M_3) <= 14 then // [E34]
-
Load u_{10,3} from H_ulo[T_{18}] + G_3 - W_2]; filter ((((u_{10,3}+G_3)^a_5) & M_3 & 0x7fff)==0 // [E35]
-
Reconstruct W_3 via [E28]-[E29]; set a_4 = W_3 + G_3
-
if ((a_4 ^ a_5) & M_3) == 0 then // [E13]
-
Emit 19-step bridge candidate (sol19); compute W_4 via [E7]
-
if sigma_0(W_4) + W_3 == T_{19} (mod 2^32) then return 20-step padded preimage M* // [E36]
6.5 Precomputation vs. Online Time, Memory, and SHA-256-Equivalent Complexity
Following standard cryptographic convention [2, 3, 4, 8], Table 6.1 separates target-independent precomputation ( table construction) from target-dependent online complexity, reported both in direct wall-clock time (node-h / node-hours denoting wall-clock hours on one 10-core Apple M4 CPU node running 16 threads) and against our measured same-host 10-core Apple M4 CPU reference baseline ( SHA20-eq/s across 16 threads, measured on arbitrary 20-step message blocks, so 1 node-h = CPU-ref). To avoid conflating CPU work factors with cross-hardware elapsed-time conversions, we report:
-
Host-Verifiable CPU Solver (solve20_padded_fast.c, one 10-core Apple M4 CPU node, 16 threads): Generates 6,242.8 sol19/s (160.2 µs/sol19, measured on slice sweeps) on genuine unmutated contexts. Against the same-host CPU reference baseline ( SHA20-eq/s), each sol19 costs 24,227.9 ≈ CPU-ref evaluations, and an expected 20-step padded preimage ( sol19 = 191.1 node-h [≈ 191 node-hours] on one 10-core Apple M4 CPU node [16 threads], or 23.9 node-h across 8 CPU nodes) costs CPU-ref (≈ ) evaluations.
-
Supplementary GPU Slice Telemetry (solve20_padded_cuda.cu / solve20_padded_cuda_prod.cu, 1× NVIDIA L4 GPU): On genuine unmutated contexts, measured -slice sweep telemetry (BENCH_4_IDEAS_RESULTS.txt and solve20_padded_cuda.cu) records 53,847.5 sol19/s (Cycle 0, 6.00 GiB 2-Tier EDF, , 22.16 GPU-h [≈ 22.2 GPU-hours]) to 73,560.5 sol19/s (Cycle 1, 6.00 GiB 2-Tier EDF, , 16.22 GPU-h per sol19 on 1× L4), and 132,888.7 sol19/s on genuine Exact- twin pairs in the 16.00 GiB Direct 2-Way table (sweep_exact16_cuda_kernel in solve20_padded_cuda_prod.cu and Cycle 1 of solve20_padded_cuda.cu, 8.98 GPU-h [≈ 9.0 GPU-hours] on 1× L4, or 1.12 h on 8× L4). (The experimental -bench-c2 through -bench-c10 harnesses [Cycles 2, 4, and 7-10 in solve20_padded_cuda.cu, including the 180,831.9 sol19/s / 6.60 GPU-h shared- run] are architectural microbenchmarks and are excluded from single-target complexity claims; likewise, the evals/s GPU rate in Table 9.4 Row 13 is the specialized 4-round crossed-spine kernel rather than an arbitrary-message 20-step SHA-256 baseline.)
-
Chosen-Target 19-Step Padded Hash (src/pre19.c, 1 CPU core of 10-core Apple M4): src/pre19.c is a single-threaded C solver using clock() with default m = 29 ( entries), where the one-time, target-independent two-pass CSR builder performs evaluations in 16.8-19.1 s (≈ 18 s, or evaluations at m = 30) and allocates B = 2.0 GiB for table_values plus 64 MiB for table_offsets (2.0625 GiB persistent RAM). Across our 14 public-label 19-step targets, per-target single-core online search time (excluding the one-time table build) ranges from 1.2 s to 86.4 s (median 19.45 s [≈ 19.5 s], mean 30.2 s). In direct operation counts, per-target online search is dominated by right-context generation (≈ trials per usable context, with 1-7 contexts tested per target across the 14 targets, i.e., context trials) plus -1.2 (, median at m = 29) left chain starts, totaling online trial/chain operations per target (or operations when adding the one-time table build at m = 29,30). Expressed in the elapsed-time CPU-ref proxy (151.25 M evals/s), the per-target online search alone corresponds to CPU-ref (median CPU-ref at 19.45 s, mean CPU-ref at 30.2 s), while a cold-start single-target run including the one-time amortizable table build (≈ 40.4-51.9 s mean total across , e.g., 18 s +30.2 s = 48.2 s) corresponds to CPU-ref.
Table 6.1: Precomputation and online complexities of the proposed 19- and 20-step preimage attacks on genuine contexts.
| Attack & Target Setting | Precomputation Time | Memory Footprint | Online Context Gen | Online Search (GPU-req / a119) | Wall-Check Online Time |
|---|---|---|---|---|---|
| 19-Step Padded Hash (Cham H₂₀, sec/px19.c) | 2 s 2⁷ Q₀ evals (16.8-19.1 s | 28 s, 1 core) | 2.002 GiB (p=29 CSD) | ≈ 2⁸⁰⁰⁰⁰ evals/ctx (D ≤ 3) | 2⁸⁰⁰⁰⁰ chains (≤ 2⁸⁰⁰⁰ spec. mod. 2⁷⁰ CPU-req) | 1.2-85.4 s (modulus 19.45 s | 19.5 s, 1 core) |
| 19-Step Bridge System (a119) (a119+zero_padded_fuse.c) | 2⁷ Q₀ evals (11.1 s, 16 threads) | 6.00 GiB (CPU) / 6-16 GiB (GPU) | 268.8 s/a₃ (CPU) | 2⁴²⁸ (2⁴⁰⁰) GPU-req / a119 | 106.2 s/a119 (M4 CPU), reqs. GPU: 7.5-10.8 s |
| 20-Step Padded Hash (Cham H₂₀, S00 / 1108) | 2⁷ Q₀ evals (11.1 s, 16 threads) | 6.00 GiB (CPU) / 6-16 GiB (GPU) | 268.8 s/a₃ (CPU) | 2⁸⁰⁰ CPU-req (≈ 2⁸⁰⁰, 2⁷² m10) | 191.1 node-b (1× M4 CPU), reqs. GPU: 8.00-22.15 h (1× L4) |
| 20-Step Unpadded Compression (§7. a119+zero_a3.c) | 3 s 2⁷ evals (45 s, 16 threads) | 48.00 GiB RAM | O(1) per (a₁₁, a₂) | 2⁸⁰⁰ CPU-req (≈ 2⁸⁰⁰) expected | 33.14 min exp. / 21.15 min obs. (10-core M4 CPU) |
7 Companion Result: 20-Step Unpadded Compression Preimages via the Zero-a₃ Bridge
When FIPS 180-4 padding is not required (the 20-step compression-function model studied in [6, 7, 9]), we can eliminate the (13.28-bit) majority survival loss of [E13] altogether by placing the state on the Zero-a₃ Manifold (solve20_zero_a3.c), where the middle state words are pinned to:
Because Maj(0,x,0)=0, both majority functions containing vanish identically for 100% of :
Fixing removes one degree of freedom on the Left, which we restore on the Right by leaving free. Under [E38], and , so (where ). Simultaneously, on the Left (with ), and on the Right (where ). Substituting and into the step-16 schedule equation groups the terms into and the terms into . Introducing a fixed meeting constant decouples step 16 into independent Left () and Right () table lookups (phase1_left_worker and phase2_right_worker in solve20_zero_a3.c):
Precomputing 16 GiB tables for , , and the Left bridge satisfying (48.0 GiB total, 45 s one-time build, 100% independent of ), solve20_zero_a3.c achieves zero -filter loss (63.37% survival per bridge hit) and 2.16 million exact 19-step compression solutions per second (0.46 us/sol19) on one 10-core Apple M4 CPU node (16 threads). At sol19/s, the expected online search time for 19-step solutions is s minutes ( scalar CPU SHA20-eq at 151.25 M evals/s, specifically ). For the target deadbeef ..., the solver found a 20-step unpadded preimage after outer trials ( 19-step solutions):
8 Verified 19-Step and 20-Step Padded SHA-256 Preimage Witnesses
All 46 distinct 20-step and 19-step witnesses below (verified via 48 checks in verify_all_witnesses.py, where "abc" appears in both the flagship demonstration §8.2 and the 14-label benchmark suite §8.4: comprising 16 distinct 20-step padded witnesses, 16 distinct 19-step padded witnesses, 13 distinct 20-step unpadded compression witnesses, and 1 Stage-2 completeness regression witness) are archived together with all C/CUDA solvers (src/pre19.c, solve20_padded_fast.c, solve20_padded_cuda.cu, solve20_padded_cuda_prod.cu, solve20_zero_a3.c, test_all_12_theories.c) at https://github.com/srw/sha256-19-and-20-step-preimages-with-padding and are independently verified in under 1 second by running python3 verify_all_witnesses.py. Complete machine-readable witness files are provided in demos_20step.txt, examples_abc_hello_20step.txt, witnesses_20step.txt, and FOUND_20ROUND_PREIMAGE.txt (in display blocks below and in §1.1, 110-hex-character 55-byte messages are wrapped across two 55-character lines for readability, while Tables 8.2 and 8.3 print single-line 110-character hex strings).
8.1 Witness 1: First Demonstrated 20-Step Padded SHA-256 Preimage ()
Found by solve20_padded_cuda.cu on Sweep 62 (ctx=5, after 70,661,112 exact 19-step bridge candidates; recorded in FOUND_20ROUND_PREIMAGE.txt):
-
Target 20-Step Digest (): 0000000000000000000000000000000000000000000000000000000
-
55-Byte Message (440 bits, big-endian hex, split into two 55-hex-char lines): ec531306c85ad4a4ad211d2e1a03ece4d0ad4a0e6b4c2b9436b3bab dcbd520597196f52c042b8cd95f1a39f71b58b47b0647c78e65416f
-
FIPS 180-4 Padded 512-Bit Message Block ():
W[ 0.. 3] = ec531306 c85ad4a4 ad211d2e 1a03ece4 W[ 4.. 7] = d0ad4a0e 6b4c2b94 36b3babd cbd52059 W[ 8..11] = 7196f52c 042b8cd9 5f1a39f7 1b58b47b W[12..15] = 0647c78e 65416f80 00000000 000001b8
(Note the mandatory FIPS 180-4 padding [1]: , , and bits.)
Table 8.1: Complete 20-step internal state trajectory () of the 20-step padded witness for .
| Step t | Register | Register | Message / Schedule Word | Algebraic / Carry-Sudoku Invariant Verified |
|---|---|---|---|---|
| 1 | e85b9b53 | 851af5a8 | Swept root | |
| 2 | 47d401c6 | 4b125b48 | Level-1 hit; | |
| 3 | 0a280ce0 | 8b761050 | Level-2 hit; popcount() = 12 ≤ 14 | |
| 4 | 67298bc8 | c121961d | Level-3 hit; ([E13]) | |
| 5 | 67978bcd | 2724a33e | Exact Shaping ([E11]): () | |
| 6 | 67978bcd | eea015fa | Exact Shaping ([E11]): () | |
| 7 | 41b1f1b0 | 8aa086f2 | Closed-form absorbing ([E17]) | |
| 8 | edb02749 | 9319765f | Invariant absorbing ([E17], [E22]) | |
| 9 | 7fd85be0 | FFFFFFF | Selector Saturation ([E8]): | |
| 10 | a7b351d7 | FFFFFFF | Selector Saturation ([E8]): , | |
| 11 | a7b351d7 | 4f9e3855 | Majority Simplification ([E22]): | |
| 12 | e5d45365 | 81ba7166 | Right context seed | |
| 13 | bf9f516c | e4acad89 | Target-fixed ; solves [E21] & [E23] | |
| 14 | b4322266 | da868879 | Padding byte ([E21]): | |
| 15 | 8493b564 | FFFFFFF | Ch-Annihilation ([E22]): , | |
| 16 | 97457a44 | 03b1406f | Padding length ([E1]): bits (0x1b8) | |
| 17 | 5ab00ac6 | a41f32e7 | Level-1 schedule word ; fixed by | |
| 18 | c3910c8e | e07c2655 | Level-2 schedule word ; fixed by | |
| 19 | 4498517b | 64fa9774 | Level-3 schedule word ; 19-step bridge complete | |
| 20 | 95f61999 | aef1ad81 | Terminal hit |
8.2 Witness 2: Flagship 20-Step & 19-Step Single-Block Padded Preimages for , SHA-256("abc"), and SHA-256("hello")
Recorded in demos_20step.txt, examples_abc_hello_20step.txt, and verify_all_witnesses.py (55-byte hex strings split into two 55-hex-char lines):
-
Target Digest (All-Zero 256-Bit Digest, 19-Step Padded with Exact ): 0000000000000000000000000000000000000000000000000000000
-
19-Step Padded 55-Byte Preimage (): fc0c9d8eafb2fa329af316940c42a5eb9773cec39e4f7e396182628 7ae767638f92d4ce5fc5eb8cabd7606409364dda27a6c1bb5220246
W[ 0.. 7] = fc0c9d8e afb2fa32 9af31694 0c42a5eb 9773cec3 9e4f7e39 61826287 ae767638 W[ 8..15] = f92d4ce5 fc5eb8ca bd760640 9364dda2 7a6c1bb5 22024680 00000000 000001b8
(Invariants verified: , , , , .)
-
Target Digest SHA-256("abc") (FIPS 180-4 §B.1 [1]): ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
-
20-Step Padded 55-Byte Preimage (): edf6e70a7001ae71b900f18119aaa1fdf6c1179b4268891262a9539 be04d41236685e0c102e0ad23165e8b7157669819302ddcb3c68226
W[ 0.. 7] = edf6e70a 7001ae71 b900f181 19aaa1fd f6c1179b 42688912 62a9539b e04d4123 W[ 8..15] = 6685e0c1 02e0ad23 165e8b71 57669819 302ddcb3 c6822680 00000000 000001b8
(Invariants verified: , , .)
-
19-Step Padded 55-Byte Preimage (): 8ca254f8d04dd3fb04efaad6b1867588ffe833de49a144fedbf1839 422892dc9f5a9158d8fc063290a14a9a6c55dfa245642a0247ec45a
-
Target Digest SHA-256("hello"):
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
- 20-Step Padded 55-Byte Preimage ():
3a11bd11262fcee01e4a184372643bdbe4ba65651b730b0b8fe49c7
648866d52c60847db2400ef72c859e2b0366e470fae3cf0891313b4
- 19-Step Padded 55-Byte Preimage ():
ac055aaa83e1e51a5d74102b7739b7b6e019e31100cd525baf09c64
2d4b59b8fc4eb8d481df111aee2616325b336b827190103c33584c5
8.3 Witness 3: Flagship 20-Step & 19-Step Two-Block (119-Byte, Plain-ASCII First Block) Padded Preimages ()
Demonstrating full Merkle-Damgård multi-block chaining with an arbitrary human-readable 64-byte plain-ASCII first block ("This first block is plain text; the second one was computed....") followed by a 55-byte computed second block with FIPS 180-4 padding [1] (, , bits, recorded in demos_20step.txt):
- Target Digest ():
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- Block 1 (64 Bytes Plain ASCII, identical for both 20-step and 19-step demos):
"This first block is plain text; the second one was computed...."
W^(1) [ 0.. 7] = 54686973 20666972 73742062 6c6f636b 20697320 706c6169 6e207465 78743b20 W^(1) [ 8..15] = 74686520 7365636f 6e64206f 6e652077 61732063 6f6d7075 7465642e 2e2e2e2e
- 20-Step Block 2 (55 Computed Bytes + 9-Byte FIPS 180-4 Padding, bits = 0x3b8, chaining from ):
W_20^(2) [ 0.. 7] = df28e21b b6b61202 ba87baa7 2096ee0a 3ac325cf 1f12056e 7cfe2ae1 735b4d10 W_20^(2) [ 8..15] = 6b8f6e0b 22eb9b50 4ed93689 91944b0a 115a934f 17c2c480 00000000 000003b8
- 19-Step Block 2 (55 Computed Bytes + 9-Byte FIPS 180-4 Padding, bits = 0x3b8):
W_19^(2) [ 0.. 7] = fe409cc9 30128a72 0481f86c 0503d7a0 18519a12 9df44913 9720bb5e ef520895 W_19^(2) [ 8..15] = f8b51568 5bb40481 7be30188 0f0caabe 02fc9e5f 1c95c080 00000000 000003b8
8.4 Witness 4: Complete 20-Step and 19-Step Padded Benchmark Suites (14 Targets Each) & Unpadded Suite (13 Targets)
Matching every public-label target in the benchmark suite (), Table 8.2 lists the complete, untruncated 55-byte (110-hex-character) 20-step FIPS 180-4 padded preimages ([padded], where appending 8000000000000001b8 forms the 512-bit block ), and Table 8.3 lists the corresponding complete 55-byte 19-step FIPS 180-4 padded preimages.
Table 8.2: Complete 20-step single-block FIPS 180-4 padded benchmark suite (all 14 public-label targets, full 55-byte message_hex, bits).
| Target Label (H* = SHA-256(label)) | Full 256-Bit Target Digest H* (64 hex chars) | Complete 20-Step Padded 55-Byte Preimage message_hex (110 hex chars; pad suffix 800000000000001b8) | Verified |
|---|---|---|---|
| "abc" | ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad | edf6e70a7001ae71b900f18119aaaf1df6c1179b4268891262a9639be04d41236685e0c102e0ad23165e8b7157669819302ddc3bc68226 | OK |
| "hello" | 2cf2d4ba5f0a30e26e832ac5b9e29e1b161e5c1fa742e573043362938b9824 | 3a11bd11262fce01e4a184372643bdbe4ba56551b730b0b8f4e9c7648866d52c60847b2400ef72c859e2b0366e470fe3c0891313b4 | OK |
| "padded test 1" | 146f48dd2a3324d46ef7bad2069e05dbd950be67ff8f23f94d12ed3ea4f11d19 | e2609a7b6ef443cb60db80500104189d140405a2f2672f4e61055713c878065bc57295da59a70765407c34475c60142000c0c934c6892 | OK |
| "padded test 2" | 4c51f9dde9f5a3ec5545b4c6a0f2d8968b2399f81f208e07304f4b00117c02df | b3747f9662c1641327d8192f54d854303b399c7a85d4c422f47a287485d4c9b35c9445ac698d361ad35e0c33f0909e745379347451c | OK |
| "padded test 3" | cb9ace26d0eee1034f838de327a72598832bf4af41644493d4ef004a5a2dab | 2a0a537e5f36b42409261161e56b2414e816492cee5d6897085892258dfab11ae9f922586a475b0d2eb475d977bedaf388a94db584e | OK |
| "padded test 4" | 90b183e68a4966c5c268807f3c49a4f4c890f9f25b00b1e83652496192f4 | 312115c5023df0d90166fb70630c77a072454bec6c71baf561dbd7644d889a339b5a1adf224599d226c509f5b13fcc0e517463823afe | OK |
| "padded test 5" | 286d96b78dc5b71f9061e6374de3fffc82939941955e7b1c5d00d9af345e80a | ac7d4c4258ea88f0d33b5adff6228fbb80f5a5e973cf4b87452358067a178da46342609beed4d34ed7b675a4c4bacaf772a3c0ed0655893 | OK |
| "padded test 6" | efa23b479b7518cb4117dfdf041a694b46441fa7596e64b8a7443a724a0d8f1 | 56b80be1c35ba9463139ef2183ca680c4f348dbf117923e26f4a17f5d09f480a3a03f2eac02b3a0b5b93a42c774a830b79b19aa2b732 | OK |
| "padded test 7" | 2f507443a1f9f39300d505b02aa1cd77c4f4024c684f75a5b2c4a0516a8 | 40c32d88f0d6237161926436e6ff445c06f067f56a89408e54f57482c0d109aca8cb0b0972c5253118cd7f0e101cc5a68e0713af63f0 | OK |
| "padded test 8" | 1fad9d7e79a13266048536e6b151a4cf494bdfdc2962e0f7bae20acd8aed5c8 | 0b5845af8f13991a7f034a99d7c114d473281307f02fde1cf59c8c86a858e24769d720c8327317e3a15f64bd78caff7cd85b0eb7ec12 | OK |
| "padded test 9" | 849564c85e22852e8af2c6ec60bd981d4e72998bc8d105a221b6a536a908a1f | 3917b7846b5616ef8c6a7c8b5ef0a09eb23d18265633d06304b438f75939ee506b8ee6c9fe191247ada9185deb9c30057229e901ef6b4 | OK |
| "padded test 10" | 91e12e79793591d6773d8c3b5090f07a69742c7031bbd514273c5de1c241c87 | 64a7c6d93f0cf5272ef808a2f2df25c7e6f7285ee9ac9b7fba626ae75df1f9e69231cc929e0a799b0af6f0adfacf546790f130d188b | OK |
| "padded test 11" | 7b6f998c1c60bd65744e43b69190481502ceef71824587fc2c535f4b7cf5a8 | 95ae4eac83a9011e5566e562f14507b0dd53f8f6391a4b89718a6d69ee5a9b02366e31a8e7345c1f14b70b5d82600456857a681612be2eb | OK |
| "hand-off cross-check 2026-09-29" | d374822f21eb0d4dbc809ae0443c2c6c66f8e5d07c8779bcc5cf784f944e3c2 | 700821b0948103e60ee472f6e7fac2a44139bc265ad13f422dc966e0e5c17e1f472e92b1769a7b9199a2a704fa97c927e01939f97333 | OK |
Table 8.3: Complete 19-step single-block FIPS 180-4 padded benchmark suite (all 14 public-label targets, full 55-byte message_hex, bits, generated by our soft-shaping 19-step padded solver src/pre19.c with and ).
| Target Label (H* = SHA-256(label)) | Complete 19-Step Padded 55-Byte Preimage message_hex (110 hex chars; pad suffix 800000000000001b8) | Verified |
|---|---|---|
| "abc" | 8ca254f8d04dd3fb04efaad6b1867588ffe833de49a144fedbf1839422892dc9f5a9158d8fc063290a14a9a6c55dfa245642a0247ec45a | OK |
| "hello" | ac055aaa83e1e51a5d74102b7739b7b6e019e31100cd525baf09c642d4b59b8fc4eb8d481df111aee2616325b336b827190103c33584c5 | OK |
| "padded test 1" | a9cfb3f277e9e66e5a86ea3ff1dac69d3327b726deb9420583f150597ba70fa19cfc18400c1222c568d20911e6162081ebe084915634c3a | OK |
| "padded test 2" | c13089d977eea9843406e0b14fff02051a5cf91b4ffedf39711c2ec81862939f8adcc0dc25f391e5c84ed20f8ef02e4a205578ea45e9fd | OK |
| "padded test 3" | e24cf94c817e32304c4162886506bdf5a5d2766398d36171235b6e3fde064535456052c3022ef488157bbbd6b81085c86401df4e0dae715 | OK |
| "padded test 4" | 3b605fe04bdf7b05dbcae817e1a77d8e7e9ad63db1fe8f5d972828874695dde35bcf72eb7166e78132c9ac7ee9f72d07190b83c398a2ed | OK |
| "padded test 5" | 502eb30d876c48eaae8a13c08e4e15b5ac74689dfef5e60cb2fd044d4bc8eaae640c92fc6236d908717a5842304f70d47fc4dddbe6d899 | OK |
| "padded test 6" | 782f45dda1ab000aace616e7c3076339fe8938a6f0a35fc6ff0e2739c3194c08494e5b1a4af0b10e69d87a02352ddd71034511dba58e90 | OK |
| "padded test 7" | fb676bdeabfc0143be3d2b4c8350083e39b4aedcdfbf2b87c10c23786a901dc14ffc2879516522cbc86235d1a7bf135373355d0cf71888 | OK |
| "padded test 8" | a1edbb0a2a9f54cf4083f7fc27156523f3acd5f52339e453c950d9ed841486df2264d752bea2d2744098a4bd612c77f69b4479b63cde7f | OK |
| "padded test 9" | 0736a2716d8ee60644b77f1e85c91f230ed82d7f242ae673baeb3049b858b159e8d90ba74901bda34b0536a82b222f425f9533e25c727c | OK |
| "padded test 10" | a80e3ae94cb0c81f3e591bfdd4453eba61c2148ab7d32f1e524c220134d9be8e12ee2beefba02fb6bc994272b720842d68709f1e0023b79 | OK |
| "padded test 11" | 23ae3771d98d69c6925d4ca4b8059f84404eea570db3d014c022af5649565a9a19a0e610fd9b258ce144893cee5d25f260f11614b36253 | OK |
| "hand-off cross-check 2026-09-29" | 6e77d54453883692c4e2fbf20d290ce36ee98f42748f7c618cd07a0d19b36b5a43c25fa3b008d57af11dbc2dabc843daee6117a0f867286 | OK |
- Demonstrated 20-Step Unpadded Compression Preimage (deadbeef..., Zero- Bridge solve20_zero_a3.c, plus all 12 [comp] targets "unpadded test 1".."unpadded test 11" and "hand-off cross-check 2026-09-29" in witnesses_20step.txt):
W[ 0.. 7] = 4334d956 6eccece1 6727a1b2 d85811af 890c5399 79018a3b d346b94d 5f26009b W[ 8..15] = 7562d311 0bfd80d5 1f8c38f4 16d8315d e0353aa2 6adf4bd2 a2bf14a2 801ae8f7
9 Experimental Ablation, Scope, and Structural Complexity Bounds
9.1 Algorithmic Ablation Across CPU and GPU
Table 9.1 summarizes the algorithmic ablation of our solver on genuine, unmutated right-hand contexts from soft-shaped CSR tables to the full Carry-Sudoku / Slot-Sudoku architecture (see Table 1.1 in §1.1 for the comparison against prior reduced-step SHA-256 preimage attacks). For CPU configurations, we report CPU-ref per sol119 against our measured same-host 10-core scalar CPU reference baseline (1.5125 × 10⁸ SHA20-eq/s on arbitrary 20-step message blocks). Supplementary GPU telemetry on 1× NVIDIA L4 (solve20_padded_cuda.cu, solve20_padded_cuda_prod.cu) is reported in direct GPU wall-clock time on genuine contexts.
Table 9.1: Algorithmic ablation of 19-step bridge candidate (sol119) and 20-step padded preimage throughput on genuine unmutated contexts.
| Algorithmic Configuration | Q¹, Table & Memory | Right-Context Rate (D = 0) | 18-Step Bridge Rate (sol119s) | CPU-ref Rank per sol119 | Expected 20-Step Time (1s Decolon) | Expected Time (K: Decolon) |
|---|---|---|---|---|---|---|
| Chaos Target: 16-Step Soft Shaping (src/pre19.c, 1.5ms) | 6.00 GB CPU (200 ms), 21.5 G | Soft (1.00e-04) (cuda.cuda) | Choose_R2 much | 1.5-40.4 s (20-step, mod. 10.4 s [2.2.4]) | ||
| Exact Shaping + Slot-Sudoku CPU (solve20_padded_fast.c, 10-core 34, 16 threads) | 6.00 GB 2-Tier 4-Base EDP (320) (320) | 200.6 ms/s | 6.2121 ms/10s | 24.228 (2^100) | 101.1 nodes-k (2^100 CPU-std) | 25.0 nodes-k (0; CPU) |
| Slot-Sudoku + 5-Step 7-Iteration GPU (100s, 1x L4) | 1.00 GB 2-Tier 2-DF (4.4 ms) | 7.500 ms/s | 52.447 2.75.200.5 ms/s | — (CPU, data telemetry) | 10.22-20.16 CPU/s | 2.00-2.77 CPU/s |
| Direct 2-Way + Genuine Rank-T₁₆ Twin CPU (100s, 1x L4) | 16.00 GB Direct 2-Way (fixed / single) | 29.310-114.207 ms/s | 122.801.7 ms/10s (genuine value) | — (CPU, data telemetry) | 8.38 SPS-k (genuine value) | 1.12 SPS-k (0; L4) |
(Note: The experimental -bench-c2 through -bench-c10 harnesses in solve20_padded_cuda.cu [Cycles 2, 4, and 7-10, including run_bench_cycle2 which recorded 180,831.9 sol19/s / 6.60 GPU-h by forcing 16 contexts to share a single T₁₆] are synthetic architectural microbenchmarks; we exclude those figures from Table 9.1 and report only genuine-context rates.)
9.2 Scope, Terminology, and Limitations: Subspace-Restricted Preimages, Degree-of-Freedom Budget, Exact-T₁₆ Twin Capacity, and Construction-Specific Bottleneck Analysis
To situate our results accurately within the SHA-256 cryptanalysis literature, we distinguish three notions of restriction in reduced-step preimage attacks:
-
Unpadded Compression Function vs. Structured-Target Padded vs. Arbitrary-Target Full FIPS 180-4 Padded Hash Function: Prior practical 18-, 19-, and 20-step results [6, 7] and the unpadded solvers in [9] restrict their claims to the unpadded compression function (W₀, ..., W₁₅ ∈ {0, 1}⁵¹² unconstrained); Zaikin [7] specifies that Merkle-Damgård padding is omitted while keeping the standard IV and feed-forward. Basra [9] additionally demonstrated a 55-byte 20-step padded preimage for a structured target (padded_r20/README.md in [9], dated 17 October 2026). Our 19- and 20-step solvers (src/pre19.c, solve20_padded_fast.c, solve20_padded_cuda.cu, solve20_padded_cuda_prod.cu) satisfy all 72 bits of single-block FIPS 180-4 padding [1] (W₁₃ mod 256 = 0x80, W₁₄ = 0, W₁₅ = 440) for arbitrary externally prescribed 256-bit targets, producing valid 55-byte (and 119-byte two-block) messages across all 16 padded 20-step and 16 padded 19-step targets in §8.
-
Subspace-Restricted Preimages, Exact-T₁₆ Twin Capacity, and the Degree-of-Freedom Budget: Like all splice-and-cut MitM and biclique attacks on padded SHA-256 [2, 3, 4, 8, 10], which fix message lengths in (W₁₄, W₁₅) and pin internal state registers ("neutral words" / "initial structures") to decouple forward and backward chunks, our solver restricts its search to a structured 55-byte single-block internal-state manifold defined by [E8], [E11], [E13], and [E22]. Because a 55-byte message contains 440 free message bits against a 256-bit target digest , the unconstrained 55-byte padded message space holds expected preimages per 256-bit target for both the 19-step and 20-step hash functions. When searching for a 20-step preimage, the solver enumerates 19-step bridge candidates (sol19) that satisfy Steps 1–19 of the 20-step target (leaving the 32-bit terminal equation open), so under a heuristic terminal survival model the expected number of sol19 bridge candidates for a given 20-step target is times the expected number of 20-step preimages inside the same restricted family. Table 9.3 tracks these model expectations across the 20-step manifold constraints.
Table 9.3: Distributional degree-of-freedom budget across the 20-step 55-byte single-block padded manifold.
| Constraint / Algebraic Pinning | Equation | Bits Spent | Model Expected 20-Step Preimages per Target | Model Expected sol19 Bridge Candidates per 20-Step Target |
|---|---|---|---|---|
| Full 55-byte padded message space ( pad, ) | [E1] | 72.0 bits (of 512) | ||
| Selector saturation () [9] | [E8] | 64.0 bits | ||
| Exact context shaping () | [E11] | 32.0 bits | ||
| Majority absorption (, on ) | [E13] | 13.40 bits (13.28 + 0.12) | ||
| Right-context Ch-annihilation (, ) | [E22] | 64.0 bits | ( in 2-way table) | ( in 2-way table) |
• Carry-Sudoku Context Universe () vs. Exact- Twin Capacity (single4 Mode): Across all values of for a given 20-step target , the complete 7-stage Carry-Sudoku cascade ([E22]–[E25], Algorithm 1) produces an estimated universe of valid right-hand contexts (or when the retired heuristic window check [E26] was enabled). In our 2-way table configuration ([E32]), each context yields an empirical average of 19-step bridge candidates (sol19) across , so the estimated universe yields reachable sol19 bridge candidates ( expected 20-step padded preimages per target under the terminal model out of the unfiltered manifold expectation, or when restricted to ). Under a uniform birthday model over contexts, the expected number of natural Exact- twin pairs () is pairs (65,780 contexts), yielding sol19 candidates ( Poisson success probability from natural twins alone; if restricted to , pairs yielding sol19 candidates or 44.6% Poisson success). Across our 16 padded 20-step targets, twin2 (sweep_exact16_cuda_kernel) solved 12 targets directly; when natural twin pairs in a sampled pool are exhausted, the non-twin 4-way reservoir kernels (single4 via sweep_20_warp_13_prod_kernel in solve20_padded_cuda_prod.cu and sweep_exact16_cuda_kernel in solve20_padded_cuda.cu) sample directly from the full context reservoir, solving the remaining 4 targets (16/16 total).
• Binary 55-Byte Output Format vs. Two-Block Chosen-ASCII Prefix (119 Bytes): In a single 55-byte block, and the upper 24 bits of are determined algebraically by the state trajectory. As demonstrated in §8.3, a 119-byte two-block message () allows the first 64-byte block to be arbitrary ASCII text while Block 2 is solved from chaining state at identical complexity.
- Construction-Specific Bottleneck Analysis and 15 Explored Sub- Directions: Within our decoupled Left/Right bridge architecture ([E8]–[E14]), each step beyond Step 19 adds one schedule relation . By [E37], is an -linear bijection on (), so for any fixed Right context and Level-3 bridge leaf , the terminal relation uniquely determines , acting as an exact 32-bit point filter against the value of determined by (though alone does not prove statistical uniformity of across the bridge stream). To investigate whether an algebraic, differential, polynomial, cross-round, or multi-block modification could bypass this 32-bit terminal filter within our framework, we formulated and evaluated 15 candidate sub-2³² attack directions (test_all_12_theories.c, Table 9.4). We emphasize that Table 9.4 is a taxonomy of construction-specific negative results and surrogate empirical checks rather than a universal impossibility proof over all conceivable algorithms.
Table 9.4: Taxonomy of 15 construction-specific candidate sub-2³² directions evaluated against the 20-step terminal filter.
| # | Candidate Sub-2³² Direction Evaluated | Mathematical Mechanism | Empirical / Algebraic Result | Observed Bottleneck |
|---|---|---|---|---|
| 1 | Rightward Spine Shift () | Shift bridge wall from to to gain 5 Left variables | requires at Level 1 before is known (Q16 ↔ V9 Casuality Law) | Circular dependency () |
| 2 | Direct Terminal Inversion (E37) | Invert directly via | Uniquely locks which coordinates against Level-3 | 32-bit filter () |
| 3 | Backward 4-Level Tree () | Start from and walk backward to | requires , which depend non-triangularly on | Non-causal () |
| 4 | Cross-Context Most-in-the-Middle ( Multiplication) | Reuse one Left chain across Right contexts | Left chain depends on the 96-bit triple ; collision requires contexts | Birthday wall () |
| 5 | LSB Carry-Chain Early Pruning on | Prime bit-by-bit using LSBs of | mixes MSB bits of into bit 0 via | Full 32-bit mixing |
| 6 | Differential / Boomerang Trail on Surrogate 3-Level Map | Flip bit in surrogate 3-level chain (test_theory_14) | Measured across all 32 bit flips in surrogate model: bits avalanche | No observed differential shortcut |
| 7 | Linear / Walsh-Radamard Approximation | Correlate linear masks | Alternating modular addition and -linear across 3 levels rapidly shunts linear trails | No observed linear shortcut |
| 8 | / ANF Polynomial Degree Reduction (Golaine / SAT) | Express as low-degree boolean polynomials | 3-level modular addition + carry chains reach high algebraic degree | High ANF degree |
| 9 | Invariant Subspace / Fixed-Point Manifold of | Restrict to -invariant subspaces | Affine shifts break -subspace invariance across levels | No invariant subspace found |
| 10 | 2-Way Bit-Directional Bridge Inside Single Block () | Most at or from both ends of Left chain | and couple across 4 steps simultaneously; memory | time-memory |
| 11 | Soft-Shaping Relaxation () | Allow to let steer into | Every non-zero bit in halves Level-3 survival, offsetting freedom | Net gain |
| 12 | Unfrown | Vary or so multiple contexts share | Ealingo right-context pool to model solutions, but each context still has its own | sol119 per hit |
| 13 | 4-Round Crossed Carry-Sudoku Spine (; [E45]) | Pin so are with lockups | Specialized spine kernel runs at 5.62G eval/s on L4 GPU, but spends 96 Left bits, turning into a 96-bit Right filter | Conservation of DoF |
| 14 | 5-Step Crossed Spine (; [E45]) | Pin all 5 Left words so | Verified algebraically; spends all 128 Left bits, requiring Right contexts | Conservation of DoF |
| 15 | Two-Block Feed-Forward Coupling (, 119 Byte) | Use free 512-bit Block 1 () to steer chaining state into Block 2 | By Davies-Meyer feed-forward, (mod ); fixing uniquely locks all 256 bits of | Two-Block Locking |
-
Analysis of Direction 15 (Two-Block Feed-Forward Locking): In a two-block 119-byte padded message , Block 1 () maps , and Block 2 maps with Davies-Meyer feed-forward . Because enters Block 2 at both boundaries simultaneously (Step 0 as and Step 20 as ), choosing first fixes both boundaries and reduces Block 2 to a single-block 20-step padded problem, while choosing Block 2's terminal state first uniquely locks all 256 bits of , requiring a full 256-bit 20-step compression preimage on Block 1.
-
Resulting Construction-Specific Scaling: While the unconstrained 55-byte padded message space ( messages) has expected preimages per 256-bit digest at any step count , within our fixed-wall Left/Right bridge construction (), 19-step bridge candidates (sol19) are generated in amortized work ( CPU-ref evaluations per sol19, or 1.2-86.4 s for a standalone chosen-target 19-step padded preimage in src/pre19.c), whereas 20-step padded preimages require testing the terminal schedule relation , costing an expected sol19 candidates under a uniform terminal residual model ( node-h / CPU-ref on CPU node, or 8.98-22.16 GPU-h in supplementary L4 GPU slice telemetry). Extending this same fixed-wall architecture beyond 20 steps shifts the terminal state boundary () rightward and introduces additional schedule equations that each impose an additional 32-bit constraint unless new algebraic degrees of freedom are opened.
9.3 Disclosure, Attribution & Code Availability
Code and Witness Availability: All C/CUDA solvers (src/pre19.c, solve20_padded_fast.c, solve20_padded_cuda_cu, solve20_padded_cuda_prod.cu, solve20_zero_a3.c, test_all_12_theories.c), standalone zero-dependency Python verifiers (verify/verify_standalone.py, paper_19_20_padded_sudoku/verify_all_witnesses.py), and all 46 distinct 19-and 20-step preimage witnesses are publicly available under the MIT License at https://github.com/srw/sha256-19-and-20-step-preimages-with-padding.
The selector-saturation and context-shaping principle (, ), together with the observation that the FIPS 180-4 padding words () can be absorbed backward into () at the cost of three context words and a 20-step padded witness for a structured target, is due to K. S. Basra [9] (README.md, padded_r19/README.md, padded_r20/README.md, and paper/sha256_r19_preimage.pdf in https://github.com/kamb-code/sha256-r19-preimage), whose manuscripts note substantial assistance from AI tools.
AI Methodology & Multi-Agent Review Disclosure: Approximately one month of prior exploration using Anthropic Claude Fable 5.1 Max did not yield a working chosen-target padded solution. Upon switching to Google DeepMind Gemini 4 Argon, the model discovered the algebraic reductions in this work (closed-form padding pivot inversion, Theorem 1 / Carry-Sudoku, Theorem 2 / closed-form upper-half reconstruction, Slot-Sudoku tables, and the Zero- bi-directional bridge), engineered the C/CUDA solvers, generated all 46 preimage witnesses, and drafted the manuscript. The manuscript, mathematical proofs, and verification suite then underwent three rounds of independent adversarial audit and peer review using OpenAI GPT 6.1 Sol Ultra and Anthropic Claude Fable 5.1 Max, which independently re-verified all arithmetic claims and witnesses and significantly improved the exposition.
10 References
-
[1] National Institute of Standards and Technology: Secure Hash Standard (SHS). FIPS PUB 180-4, U.S. Department of Commerce (2015).
-
[2] Isobe, T., Shibutani, K.: Preimage Attacks on Reduced Tiger and SHA-2. In: Dunkelman, O. (ed.) Fast Software Encryption – FSE 2009, LNCS, vol. 5665, pp. 139–155. Springer (2009).
-
[3] Aoki, K., Guo, J., Matusiewicz, K., Sasaki, Y., Wang, L.: Preimages for Step-Reduced SHA-2. In: Matsui, M. (ed.) Advances in Cryptology – ASIACRYPT 2009, LNCS, vol. 5912, pp. 578–597. Springer (2009).
-
[4] Khovratovich, D., Rechberger, C., Savelieva, A.: Bicliques for Preimages: Attacks on Skein-512 and the SHA-2 Family. In: Canteaut, A. (ed.) Fast Software Encryption – FSE 2012, LNCS, vol. 7549, pp. 244–263. Springer (2012).
-
[5] Homsirikamol, E., Morawiecki, P., Rogawski, M., Srebrny, M.: Security Margin Evaluation of SHA-3 Contest Finalists Through SAT-Based Attacks. In: Cortesi, A. et al. (eds.) CISIM 2012, LNCS, vol. 7564, pp. 56–67. Springer (2012) (16-round SHA-256 SAT evaluation in ~1 h, Table 1).
-
[6] Davydov, V. V., Pikhtovnikov, M. D., Kiryanova, A. P., Zaikin, O. S.: Cryptographic Strength Analysis of the SHA-256 Hash Function Using the SAT Approach. Scientific and Technical Journal of Information Technologies, Mechanics and Optics, vol. 25(3), pp. 428–437 (2025). DOI: 10.17586/2226-1494-2025-25-3-428-437.
-
[7] Zaikin, O.: Preimage Attacks on Round-Reduced MD5, SHA-1, and SHA-256 Using Parameterized SAT Solver. Constraints (published 23 Jan 2026). DOI: 10.1007/s10601-025-09383-0 (19-step unpadded all-ones target in 18 h 33 min on 192 CPU cores, §5 / Table 2).
-
[8] Guo, J., Li, H., Liu, M., Wang, S., Zhang, T.: Dual-Syncopation Meet-in-the-Middle Attacks: New Results on SHA-2 and MD5. In: Advances in Cryptology – EUROCRYPT 2026. Springer (2026); IACR ePrint 2026/353.
-
[9] Basra, K. S.: Oracle-Free Preimage Attack on 19-Round Reduced SHA-256, The 20-Round Barrier for Table-Based Preimage Attacks on SHA-256, and README.md, padded_r19/README.md, padded_r20/README.md (structured-target 20-round padded witness, 17 Oct 2026). GitHub repository and manuscripts, https://github.com/kamb-code/sha256-r19-preimage (Aug-Oct 2026).
-
[10] Sasaki, Y., Wang, L., Aoki, K.: Preimage Attacks on 41-Step SHA-256 and 46-Step SHA-512. IACR Cryptology ePrint Archive, Report 2009/479 (2009).
-
[11] Mendel, F., Nad, T., Schläffer, M.: Improving Local Collisions: New Attacks on Reduced SHA-256. In: Johansson, T., Nguyen, P. Q. (eds.) Advances in Cryptology – EUROCRYPT 2013, LNCS, vol. 7881, pp. 262–278. Springer (2013).
-
[12] Mendel, F., Nad, T., Schläffer, M.: Finding SHA-2 Characteristics: Searching through a Minefield of Contradictions. In: Lee, D. H., Wang, X. (eds.) Advances in Cryptology – ASIACRYPT 2011, LNCS, vol. 7073, pp. 288–307. Springer (2011).
-
[13] De Cannière, C., Rechberger, C.: Finding SHA-1 Characteristics: General Results and Applications. In: Lai, X., Chen, K. (eds.) Advances in Cryptology – ASIACRYPT 2006, LNCS, vol. 4284, pp. 1–20. Springer (2006) (generalized characteristic framework introduced for SHA-1 and adapted to SHA-2 in [11, 12]).
-
[14] Li, Y., Liu, F., Wang, G.: New Records in Collision Attacks on SHA-2. In: Joye, M., Leander, G. (eds.) Advances in Cryptology – EUROCRYPT 2024, LNCS, vol. 14651, pp. 158–186. Springer (2024); IACR ePrint 2024/349 (39-step SHA-256 semi-free-start and 40-step SHA-224 free-start collisions).
-
[15] Dobraunig, C., Eichlseder, M., Mendel, F.: Analysis of SHA-512/224 and SHA-512/256. In: Iwata, T., Cheon, J. H. (eds.) Advances in Cryptology – ASIACRYPT 2015, LNCS, vol. 9453, pp. 612–630. Springer (2015).
-
[16] McDair: 17-Step Reduced SHA-256 Preimage Challenge Witnesses. Cryptography Mailing List (metzdowd.com, 2024-April/001334.html), Mar-Apr 2024 (archived mailing-list posts of three 17-step messages without a published attack method).
-
[17] Stevens, M., Bursztein, E., Karpman, P., Albertini, A., Markov, Y.: The First Collision for Full SHA-1. In: Katz, J., Shacham, H. (eds.) Advances in Cryptology – CRYPTO 2017, LNCS, vol. 10401, pp. 570–596. Springer (2017).
-
[18] Leurent, G., Peyrin, T.: SHA-1 is a Shambles: First Chosen-Prefix Collision on SHA-1 and Application to the PGP Web of Trust. In: 29th USENIX Security Symposium (USENIX Security 2020), pp. 1839–1856 (2020).