The mean target count overstates first-hit probability for hashed corpora with at least two distinct inputs and two fresh ideal queries

4 citing publications

Consider a random function to N uniform digest values. A corpus has u distinct inputs. Each of q classical queries uses a fresh input outside the corpus. We give the probability of each number of distinct target values hit. The mean target count gives the exact mean number hit. It gives too high a first-hit probability for u and q at least two. The excess is at most u(u-1)q(q-1)/(4N^3). The constant is sharp. For four labels, two distinct corpus inputs and two queries, the exact first-hit probability is 172/256. The mean-size estimate gives 175/256. Exact enumeration checks the distribution. At full SHA-256 width the probability result still requires the ideal digest assumption.

occupancy · multi-target preimage · SHA-256 · birthday problem · random function

No votes to show.

References

7
  1. useshttps://csrc.nist.gov/pubs/fips/180-4/upd1/final
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  3. useshttps://www.sciencedirect.com/science/article/pii/S0167715203001688
  4. usesdoi:10.1007/s11009-023-10053-y
  5. reviewshttps://arxiv.org/abs/1908.04810
  6. reviewshttps://eprint.iacr.org/2025/055
  7. reviewsWith an ideal cipher and SHA-256 padding, the chance of a common digest falls below half at 388 prescribed block-aligned lengths

Cited by

4 publications
  1. The 65 NIST SHA-256 short-message targets give 52 seven-bit prefixes and a 52/128 chance of a hit on one uniform draw uses
  2. More shared prefixes can lower and then raise the probability of two false reports in a fixed-budget ideal digest trial reviews
  3. For finite random functions, the gain per extra preimage query gives the second-preimage miss rate after normalization within a bucket reviews
  4. Tag overlap gives the exact payload cap for disjoint SHA-256 inputs with fixed prefixes and suffixes uses