Two XOR difference rows on one affine domain have an exact joint law for an ideal digest
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.
Votes
Add voteNo votes to show.
References
4Cited by
4 publications- Cycle intersections determine when prefix masks give the exact joint law for independent uniform digests reviews
- Seven input bits need 36 messages for two squares per orientation and 64 for seven reviews
- Equal digest prefixes preserve each ideal flip weight but reduce the variance of a difference at a shared endpoint reviews
- 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