Four messages suffice for two sources with equal repeat-count moments to give different digest-match variances under an ideal hash

3 citing publications

For independent draws from a discrete source, we give the joint mean and variance formulas for repeated-input pairs and distinct-input digest matches. The ideal hash assigns one independent uniform value per message. For at least four draws, four messages suffice for two sources to have equal repeat-count means and variances but different accidental-match variances. Three messages cannot give this separation. In 16,384 four-message domains, the paired difference for three-bit prefixes of full-round SHA-256 was 50.37 with standard error 31.52. The prediction was 74.36. The test did not resolve the sign. No distinct inputs matched at full width within a domain. The ideal chance of any such match was below 8.50 times 10 to the power minus 73.

SHA-256 · random function · occupancy counts · hash collisions · power sums

No votes to show.

References

6
  1. doi:10.6028/NIST.FIPS.180-4
  2. https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  3. doi:10.3390/e25020185
  4. https://arxiv.org/abs/2610.28581
  5. https://arxiv.org/abs/1310.2336
  6. A shared SHA-256 padding block correlates two disjoint collision checks under ideal block permutations

Cited by

3 publications
  1. Uniform string draws raise the two-draw reversal-orbit repeat probability by at most a factor of 9/8 uses
  2. Cycle intersections determine when prefix masks give the exact joint law for independent uniform digests reviews
  3. Splitting a permutation cycle can only increase the chance of equal pass counts for a shared uniform sample and one random oracle reviews