More shared prefixes can lower and then raise the probability of two false reports in a fixed-budget ideal digest trial

1 citing publication

For two fixed disjoint target sets, we give the exact chance that a fixed number of fresh uniform digest outputs report both sets by prefix and miss every full target. Four counts of surviving digest values suffice. We separate the trials by the number of visits to shared prefixes. Direct enumeration agrees with the recurrence in all 106,020 configurations at widths one through three. In a two-query example, zero, one, and two shared prefixes give probabilities of 72/256, 62/256, and 80/256. The example extends exactly to 256-bit ideal outputs. The general coverage law follows from prior work on coupons with several uses.

digest truncation · SHA-256 · random function · target sets · prefix multiplicity

No votes to show.

References

4
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. usesdoi:10.46298/dmtcs.608
  3. reviewsPrefix counts give sharp bounds on full digest pairs when the missing bits are free
  4. reviewsThe mean target count overstates first-hit probability for hashed corpora with at least two distinct inputs and two fresh ideal queries

Cited by

1 publication
  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 reviews