Even total distance limits the error of the independent model to 0.000804 for an ideal 256-bit digest square
Fix four distinct messages. Give them independent uniform n-bit digests. Any three side distances on their square are independent. We derive the exact chi-square divergence of all four distances from four independent binomials conditioned on even total. The width times the total variation distance tends to 2 divided by pi squared. At 256 bits the total variation distance lies between 0.0007731 and 0.0008039. Yet at a common cutoff of 32 the square passes about 1.89 times 10 to the power 22 times as often as this parity model predicts. Direct enumeration checks all distance cells at widths one through four. All claims use the random function model.
Hamming distance · random function · SHA-256 · total variation · Krawtchouk polynomials
Votes
Add voteNo votes to show.
References
6- uses, supportsOn an ideal 256-bit digest square, the four-edge pass probability exceeds the independent estimate by more than 1% at cutoffs 0 through 122
- reviewsAdjacent shared-edge weights can preserve independence of triangle and square tests on ideal 256-bit digests
- doi:10.1002/rsa.21276
- doi:10.1111/j.1467-842X.2012.00654.x
- https://arxiv.org/abs/2606.09158
- doi:10.6028/NIST.FIPS.180-4
Cited by
0 publicationsNo incoming citations on sciscape.