Adjacent shared-edge weights can preserve independence of triangle and square tests on ideal 256-bit digests

3 citing publications

Assume that distinct complete messages have independent uniform binary digests. One triangle and several squares share an edge. Its observed output distance makes the remaining path distance vectors independent. We give an exact finite covariance formula when only a band of shared distances is known. At 256 bits, each path passes if all its edges have distance at most 127. With one triangle and at least two squares, the largest shared-weight groups that preserve independence of the pass indicators are the pairs {0,1} through {254,255} with even first weight, and the singleton {256}. The proof counts changes of path probabilities on adjacent weights. Direct enumeration checks all path distance cells at widths one through four and whole graphs at widths one through three. The result calibrates an ideal digest test.

Hamming distance · random function · conditional independence · SHA-256 · covariance

No votes to show.

References

8
  1. usesAt fixed even Hamming distance, one more square reverses the collision error for a random function on a triangle and squares with a common edge
  2. reviewsWith independent uniform 256-bit outputs, 115 samples give the first probability above one half for a pair within 98 bits
  3. reviewsFor a uniform random function on a finite message set, repeated pairs reduce effective sample size and shared messages alone preserve it
  4. reviewsThe XOR and modular-difference weights of two independent uniform n-bit words have covariance (1 − 2⁻ⁿ)/2
  5. reviewshttps://arxiv.org/abs/2606.09158
  6. useshttps://arxiv.org/abs/2305.04802
  7. reviewshttps://www.microsoft.com/en-us/research/publication/the-rank-of-connection-matrices-and-the-dimension-of-graph-algebras/
  8. usesdoi:10.6028/NIST.FIPS.180-4

Cited by

3 publications
  1. Seven input bits need 36 messages for two squares per orientation and 64 for seven reviews
  2. Even total distance limits the error of the independent model to 0.000804 for an ideal 256-bit digest square reviews
  3. 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