With independent uniform 256-bit outputs, 115 samples give the first probability above one half for a pair within 98 bits

9 citing publications

For independent uniform binary words, we bound the probability that a pair has Hamming distance at most a fixed radius. The bounds use the overlap of two balls with separated centers. At the birthday scale the interval width is of order one over the square of the sample size. At 256 bits and radius 98, the probability first exceeds one half at 115 outputs. All 70 exact small cases agree with the bounds. Four fixed synthetic series passed the stated sampling checks. The theorem assumes ideal outputs. The full SHA-256 trials cover only the tested messages.

Hamming distance · birthday probability · random codes · SHA-256

No votes to show.

References

11
  1. doi:10.6028/NIST.FIPS.180-4
  2. https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
  3. https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  4. https://user.eng.umd.edu/~abarg/reprints/rce.pdf
  5. https://arxiv.org/abs/1209.4255
  6. doi:10.1214/aop/1176991491
  7. https://willperkins.org/BirthdayRepulsionHardSpheres.pdf
  8. https://arxiv.org/abs/1711.06216
  9. doi:10.1109/ISIT62367.2026.11653997
  10. https://arxiv.org/abs/2607.27098
  11. doi:10.1080/01621459.1963.10500830

Cited by

9 publications
  1. The XOR and modular-difference weights of two independent uniform n-bit words have covariance (1 − 2⁻ⁿ)/2 reviews
  2. Two configurations give sharp union bounds for four binary targets with fixed pairwise distances at every radius
  3. Counts and mask membership patterns give a confidence sequence for one fixed digest pair after a uniform coordinate shuffle
  4. 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 reviews
  5. For two fixed targets and one uniform binary pool, the target distance sets the direction of the independence error at every pool size
  6. A pair bootstrap interval covered one SHA-256 agreement pair in 200 of 525 length-stratified samples uses
  7. For a uniform random function on a finite message set, repeated pairs reduce effective sample size and shared messages alone preserve it uses
  8. Adjacent shared-edge weights can preserve independence of triangle and square tests on ideal 256-bit digests reviews
  9. One count of four-ball intersections gives exact query bounds for a family of binary targets under uniform independent outputs