A shared final block changes the fixed-target match probability for 448- to 512-bit messages under ideal random compression

10 citing publications

We fix a target and q distinct alternatives at one SHA-256 message length before we draw a uniform random compression function with N states. At lengths through 447 bits, the match count is binomial with success probability 1/N. For each length from 448 to 512 bits, the success probability has the same effect as a random value K/N shared by all trials. K is one plus a binomial variable with N−1 trials and success probability 1/N. We prove the law even when a message repeats its final block as its first block. At N = q = 2^256 the match probability increases from 0.632121 to 0.804485 across the padding boundary. Exact counts agree in 27 small model cases. Full SHA-256 compression agrees with 513 NIST bit vectors. The probability result applies to ideal compression and a list fixed in advance.

SHA-256 · second preimage · random compression · padding · fixed target · random mapping

No votes to show.

References

7
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
  3. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabittestvectors.zip
  4. https://www.iacr.org/archive/eurocrypt2005/34940474/34940474.pdf
  5. doi:10.1007/s00145-015-9206-4
  6. doi:10.1007/3-540-46885-4_34
  7. https://arxiv.org/abs/2611.00512

Cited by

10 publications
  1. Uniform message sampling raises exhaustive same-length second-preimage success by 57.07 percentage points in the one-block ideal 256-bit model reviews
  2. With two hidden messages, an optimal ideal search partly tests at most one class at each SHA-256 padding cost reviews
  3. A shared SHA-256 padding block correlates two disjoint collision checks under ideal block permutations
  4. For uniform SHA-256 messages of known length, the final block loses 447 bits of min-entropy at residue 448
  5. For a finite ideal function, a hit detects planting optimally when distinct classical queries do not exceed possible digests reviews
  6. Shared block labels determine when a final prefix match increases exact context checks on ideal compression paths reviews
  7. With SHA-256 padding and ideal compression, cube parity at lengths 447 and 448 is uniform but complete first-block reuse can bias it at other lengths uses
  8. Two fixed blocks in opposite orders collide with probability near 2/N under ideal compression with N states and SHA-256 padding reviews
  9. Counting possible final blocks bounds truncated collisions with SHA-256 padding and ideal compression uses
  10. Shared outgoing blocks bound digest coupling loss on a fixed trie under ideal compression reviews