Matching input ranks across record lengths maximizes repeat risk in samples without replacement

0 citing publications

Sample distinct records from a finite corpus without replacement. Suppose an audit keeps the counts for each encoded input at each raw length but discards the input names. We prove that matching counts by rank across lengths maximizes the probability of at least t repeated inputs for every threshold t and every sample length composition. For two lengths, opposite ranks attain the minimum. An exact coefficient formula gives the full distribution when the names are known. Matching ranks maximizes the chance of any equal record digest but minimizes the chance of equal ideal digests on different inputs. Direct counts agree in 21,265 finite cases. The result describes the input encoding and an ideal whole-message hash.

SHA-256 · sampling without replacement · serialization · occupancy · rearrangement

No votes to show.

References

5
  1. usesOne merged pair gives the sharp minimum increase in collision probability for distinct records under an ideal hash
  2. useshttps://arxiv.org/abs/1402.5547
  3. reviewshttps://arxiv.org/abs/1504.03878
  4. reviewsdoi:10.1214/aop/1176994668
  5. usesdoi:10.6028/NIST.FIPS.180-4

Cited by

0 publications

No incoming citations on sciscape.