Uniform message sampling raises exhaustive same-length second-preimage success by 57.07 percentage points in the one-block ideal 256-bit model

1 citing publication

All bit lengths from 0 through 447 use one SHA-256 padded block. Assume independent uniform 256-bit outputs and exhaustive search for a different message of the same original length. Uniform length sampling gives success 0.429314168 to nine decimal places rounded down. Uniform sampling of valid padded messages increases success by 0.570685831 to nine decimal places rounded down. If the search admits the entire union, the choice of target sampler has no effect. At mean length 223.5 bits the length-first minimum uses 223 and 224 bits. The maximum uses 0 and 259 bits. We also compare a length law with its own size-weighted law. At fixed mean, three lengths suffice for either extreme of this difference. At mean 252.25 bits a certified example requires all three allowed lengths for the maximum. The probability claims apply to ideal whole-message outputs.

SHA-256 · second preimage · size bias · fixed mean · padding · random function

No votes to show.

References

10
  1. usesFor finite random functions, the gain per extra preimage query gives the second-preimage miss rate after normalization within a bucket
  2. reviewsFor a finite ideal function, a hit detects planting optimally when distinct classical queries do not exceed possible digests
  3. reviewsA shared final block changes the fixed-target match probability for 448- to 512-bit messages under ideal random compression
  4. usesdoi:10.6028/NIST.FIPS.180-4
  5. useshttps://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
  6. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  7. useshttps://www.cs.ucdavis.edu/~rogaway/papers/relates.pdf
  8. usesdoi:10.2307/2530008
  9. usesdoi:10.1287/moor.13.4.581
  10. reviewshttps://www.schneier.com/academic/archives/2005/01/second_preimages_on.html

Cited by

1 publication
  1. In an ideal second-preimage benchmark, the allowed pairs determine when reuse of public targets adds variance uses