Sorting digest widths gives sharp match probabilities for disjoint pairs of independent uniform digests

1 citing publication

A verifier checks m disjoint pairs of distinct messages. The digests are independent uniform 256-bit words. Each check uses the shorter stored prefix. We prove sharp bounds for the chance of at least k accidental matches for every k. Pairing neighbors among the longest 2m records gives the least risk. Pairing the shortest m records with different remaining records gives the greatest risk. A uniform matching minimizes worst-case risk when only the width inventory is known. A polynomial recurrence gives its exact count distribution. For four widths of 2, 2, 4 and 4 bits, the least, blind and greatest chances of any match in two checks are 19/64, 25/64 and 7/16. Exhaustive counts agree in all 147 profile and budget cases.

prefix agreement · digest truncation · matching · birthday probability · SHA-256 · random function

No votes to show.

References

5
  1. usesFor ideal digest prefixes, one width per class can give different optima for the mean pair count and the chance of any match
  2. reviewsIndependent truncation lengths give a 67.77% chance of a compatible pair in an ideal 256-bit birthday trial with rare 128-bit prefixes
  3. reviewsCycle intersections determine when prefix masks give the exact joint law for independent uniform digests
  4. useshttps://arxiv.org/abs/1804.02531
  5. usesdoi:10.6028/NIST.FIPS.180-4

Cited by

1 publication
  1. For disjoint pairs selected by ideal digest prefixes, the match count has the usual binomial law exactly when the prefix count does reviews