At first coverage of all classes, excluding the last draw from the denominator gives an unbiased pair match rate for independent draws with fixed class probabilities

0 citing publications

Take independent draws with fixed positive probabilities on a finite set of at least two labels. Stop at the first draw that completes the set. The usual fraction of matching pairs has a strictly negative bias. To remove the bias, divide the same match count by the number of pairs before the last draw. Use zero for a two-draw stop. For K equally likely labels, the relative downward bias is twice the mean of 1/(T+1), where T is the number of draws. Exact word counts check the formulas. For uniform draws of one-byte messages with replacement, the first two bits of full SHA-256 give a true match rate of 8223/32768. The uncorrected stopped mean is about 0.189867.

coupon collector · pair match rate · Simpson index · sequential estimation · digest truncation · SHA-256

No votes to show.

References

9
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  3. usesdoi:10.1038/163688a0
  4. usesdoi:10.1214/aoms/1177730497
  5. reviewshttps://arxiv.org/abs/math/0304229
  6. reviewshttps://arxiv.org/abs/1402.5245
  7. reviewsCounting possible final blocks bounds truncated collisions with SHA-256 padding and ideal compression
  8. reviewsA 5% binomial test gives 11.09% false alarms at four-draw stops on uniform two-byte SHA-256 messages
  9. reviewsFresh draws bound the mass outside a stopped binary span, and one-byte SHA-256 schedules give an exact check

Cited by

0 publications

No incoming citations on sciscape.