For a uniform random function on a finite message set, repeated pairs reduce effective sample size and shared messages alone preserve it

4 citing publications

We study exact digest equality on a finite set of distinct messages. Each message has one independent uniform digest. We count pair proposals and cached digest calls separately. For k independent draws from M unordered pairs, the effective sample size is kM/(M+k−1). For k distinct pairs it is k, even if the pairs share messages. A forest gives the full binomial count law. A shortest cycle gives the first unequal binomial coefficient moment. These facts give sharp minimum message counts for the two requirements. Complete enumeration checks all simple graphs on five messages at two alphabet sizes. Two standard vectors check the SHA-256 implementation paths. The probability claims assume a random function.

random function · digest equality · comparison graphs · effective sample size · SHA-256

No votes to show.

References

7
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://www.nist.gov/itl/ai/ai-standards-and-guidelines-group/nsrl-test-data
  3. reviewsdoi:10.4230/LIPIcs.ITCS.2021.17
  4. reviewshttps://arxiv.org/abs/1310.2336
  5. reviewshttps://arxiv.org/abs/2610.29215
  6. usesWith independent uniform 256-bit outputs, 115 samples give the first probability above one half for a pair within 98 bits
  7. reviewsFor a uniform permutation, distinct pairs with one input XOR have an exact variance correction

Cited by

4 publications
  1. A cyclic shift attains the most distinct input pairs for two one-bit SHA-256 panels with the same bases, equal bit counts and a fixed trial count per base reviews
  2. Counts and mask membership patterns give a confidence sequence for one fixed digest pair after a uniform coordinate shuffle
  3. At fixed even Hamming distance, one more square reverses the collision error for a random function on a triangle and squares with a common edge uses
  4. Adjacent shared-edge weights can preserve independence of triangle and square tests on ideal 256-bit digests reviews