For uniform 256-bit digests, different odd moduli give the largest relative errors for pair and triple matches

1 citing publication

Assume that distinct messages give independent uniform 256-bit digests. Let N be 2^256. Among odd range sizes from 1 to N, the largest pair-match probability relative to the uniform baseline occurs at both 3N/4 minus one and 3N/4 plus one. The largest triple-match ratio occurs only at (7N+5)/9. The corresponding entropy losses relative to a uniform range are below 0.170 and 0.249 bits. We prove the exact finite-width corrections. We give exact match counts in expectation and exact hit probabilities for unequal query budgets with modular reduction, rejection, and high-bit truncation. An integer checker reproduces the results. The proof assumes random outputs for full SHA-256.

SHA-256 · modular reduction · Rényi entropy · match probability · rejection sampling

No votes to show.

References

7
  1. doi:10.6028/NIST.FIPS.180-4
  2. doi:10.17487/RFC9380
  3. https://arxiv.org/abs/1805.10941
  4. https://iacr.org/archive/eurocrypt2004/30270396/bk.pdf
  5. doi:10.3390/e20120896
  6. https://www.ism.ac.jp/editsec/aism/pdf/040_1_0077.pdf
  7. Trial sequence increased clarity prediction error by 1.9% for held-out vocoded words with matching text

Cited by

1 publication
  1. At a fixed zero-error probability, geometric noise minimizes worst-report guessing success for a uniform digest under symmetric log-concave weight noise