Four messages suffice for two sources with equal repeat-count moments to give different digest-match variances under an ideal hash
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.
Votes
Add voteNo votes to show.
References
6- doi:10.6028/NIST.FIPS.180-4
- https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
- doi:10.3390/e25020185
- https://arxiv.org/abs/2610.28581
- https://arxiv.org/abs/1310.2336
- A shared SHA-256 padding block correlates two disjoint collision checks under ideal block permutations
Cited by
3 publications- Uniform string draws raise the two-draw reversal-orbit repeat probability by at most a factor of 9/8 uses
- Cycle intersections determine when prefix masks give the exact joint law for independent uniform digests reviews
- Splitting a permutation cycle can only increase the chance of equal pass counts for a shared uniform sample and one random oracle reviews