Two XOR difference rows on one affine domain have an exact joint law for an ideal digest

4 citing publications

A fixed nonzero input difference gives twice a multinomial histogram when each message has an independent uniform t-bit digest. For two distinct nonzero differences on the same finite binary affine domain, we derive the joint law from independent squares of four messages. Every cross-row bin covariance is zero. Both rows nevertheless reveal the same uniform t-bit XOR. If each row contains m unordered pairs, the counts of pairs of edges with equal output differences have correlation 1/(m−1). Exact enumeration gives all joint frequencies for three small domains and widths, including all 65,536 functions from eight messages to four outputs. The results give a reference law for truncated SHA-256 tests under the ideal digest assumption.

random function · difference distribution table · SHA-256 · digest truncation · multinomial distribution

No votes to show.

References

4
  1. useshttps://cs.ru.nl/~joan/papers/JDA_VRI_Stat_2007.pdf
  2. reviewsdoi:10.3390/a16030157
  3. usesdoi:10.6028/NIST.FIPS.180-4
  4. usesCounting possible final blocks bounds truncated collisions with SHA-256 padding and ideal compression

Cited by

4 publications
  1. Cycle intersections determine when prefix masks give the exact joint law for independent uniform digests reviews
  2. Seven input bits need 36 messages for two squares per orientation and 64 for seven reviews
  3. Equal digest prefixes preserve each ideal flip weight but reduce the variance of a difference at a shared endpoint reviews
  4. On an ideal 256-bit digest square, the four-edge pass probability exceeds the independent estimate by more than 1% at cutoffs 0 through 122 uses