Length counts give exact digest match probabilities before and after duplicate removal on finite message domains

0 citing publications

Each proposal selects a bit length and then a uniform message of that length. We prove exact match laws for a finite domain and a fixed digest map. One table of output counts by length gives the probabilities for a fixed number of proposals and a fixed number of accepted messages. A covariance gives the difference between online duplicate removal and conditioning two proposals on different inputs. We checked the recurrence by exact enumeration. With equal probability for the empty message and the one-byte length, eight proposals repeat a four-bit SHA-256 prefix with probability 0.995741. Different inputs in those proposals share a prefix with probability 0.468667. Eight different messages accepted online share a prefix with probability 0.867438. Two implementations agreed on all 257 full digests.

SHA-256 · successive sampling · birthday probability · variable message length · duplicate removal

No votes to show.

References

7
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://statistics.berkeley.edu/tech-reports/523
  3. usesdoi:10.1080/03610910701790269
  4. useshttps://arxiv.org/abs/1005.4107
  5. reviewshttps://pmc.ncbi.nlm.nih.gov/articles/PMC12830118/
  6. usesOn independent uniform SHA-256 blocks, either repeat-time law changes within two further draws when first-word class masses differ
  7. reviewsIndependent truncation lengths give a 67.77% chance of a compatible pair in an ideal 256-bit birthday trial with rare 128-bit prefixes

Cited by

0 publications

No incoming citations on sciscape.