Independent truncation lengths give a 67.77% chance of a compatible pair in an ideal 256-bit birthday trial with rare 128-bit prefixes

4 citing publications

Take 2^128 independent uniform 256-bit words. Keep the first 128 bits with probability 2^-128 per word. Otherwise keep all bits. The chance that two records agree through the shorter length is 67.77%, rounded. One random length shared by the batch gives 39.35%. We prove an exact trie formula for every finite alphabet and length law. We also prove a limit for rare short records and bound its error in the 256-bit case. Exact enumeration agrees in all 24 small cases. The model assumes distinct messages and ideal digests.

prefix code · occupancy · birthday probability · random truncation · SHA-256 · antichain

No votes to show.

References

4
  1. useshttps://arxiv.org/abs/1804.02531
  2. useshttps://math.sun.ac.za/swagner/additive.pdf
  3. usesdoi:10.6028/NIST.FIPS.180-4
  4. reviewsCycle intersections determine when prefix masks give the exact joint law for independent uniform digests

Cited by

4 publications
  1. For disjoint pairs selected by ideal digest prefixes, the match count has the usual binomial law exactly when the prefix count does reviews
  2. Fixed output weights give an exact law for near-match counts among independent uniform binary words
  3. Sorting digest widths gives sharp match probabilities for disjoint pairs of independent uniform digests reviews
  4. Length counts give exact digest match probabilities before and after duplicate removal on finite message domains reviews