A Poisson pair count can understate or overstate bucket overflow for independent uniform digest prefixes

1 citing publication

A bucket with k messages contains k(k−1)/2 equal pairs. We prove that using the corresponding Poisson pair tail to estimate the risk of such a bucket can give an error of unbounded relative size in either direction. The proof assumes independent uniform bucket labels. With 1,048,576 distinct messages, a capacity of two per bucket requires at least 69 prefix bits for an overflow risk of at most 2^-80. We give rational certificates and compare two exact counts on 305,178 maps. Two independent SHA-256 implementations also agree on all 65 NIST short byte-message vectors. The probability guarantee requires the ideal function model.

maximum occupancy · digest truncation · birthday problem · Poisson approximation · SHA-256

No votes to show.

References

9
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/secure-hashing
  3. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  4. usesdoi:10.1073/pnas.0704691104
  5. reviewshttps://dornsife.usc.edu/larry-goldstein/wp-content/uploads/sites/221/2023/06/AGG-1.pdf
  6. reviewsdoi:10.1093/ietfec/e91-a.1.39
  7. reviewsdoi:10.1007/s11009-023-10028-z
  8. reviewsFixed-size buckets lose collision detections at equal table space in the random-output birthday limit
  9. reviewsCounting possible final blocks bounds truncated collisions with SHA-256 padding and ideal compression

Cited by

1 publication
  1. For ideal digest prefixes, one width per class can give different optima for the mean pair count and the chance of any match reviews