Cycle intersections determine when prefix masks give the exact joint law for independent uniform digests

3 citing publications

For each edge, two independent uniform word draws at its ends are compared on a fixed set of bits. We count the connected components at each bit to get the joint law. Prefixes of the same widths maximize every factorial moment of the number of matches. They give the exact joint law if and only if the intersection on each cycle has the width of its smallest mask. On a triangle with 256-bit words and widths 128, 160 and 224, prefixes can overestimate the joint probability by a factor of 2 to the power 128. This factor is sharp. Direct enumeration checked 1,120 cells in small cases, including words drawn without replacement. The probability results assume ideal outputs.

mask intersection · graphic matroid · factorial moments · ideal digest · SHA-256

No votes to show.

References

9
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  3. usesdoi:10.1214/16-AAP1205
  4. useshttps://deltadbu.github.io/UCAS_algorithm_course/Lectures/Edmonds1971.pdf
  5. reviewshttps://arxiv.org/abs/2610.29215
  6. reviewsTwo XOR difference rows on one affine domain have an exact joint law for an ideal digest
  7. reviewsCounts and mask membership patterns give a confidence sequence for one fixed digest pair after a uniform coordinate shuffle
  8. reviewsFour messages suffice for two sources with equal repeat-count moments to give different digest-match variances under an ideal hash
  9. reviewsCounting possible final blocks bounds truncated collisions with SHA-256 padding and ideal compression

Cited by

3 publications
  1. Independent truncation lengths give a 67.77% chance of a compatible pair in an ideal 256-bit birthday trial with rare 128-bit prefixes reviews
  2. Sorting digest widths gives sharp match probabilities for disjoint pairs of independent uniform digests reviews
  3. For ideal digest prefixes, one width per class can give different optima for the mean pair count and the chance of any match reviews