Uniform string draws raise the two-draw reversal-orbit repeat probability by at most a factor of 9/8

1 citing publication

We take one key from each pair of byte strings related by reversal. A palindrome has one spelling. Other keys have two. For independent draws with replacement, we compute the exact chance that different keys give equal outputs under ideal one-block compression. Uniform string draws can raise the two-draw query-repeat probability by a factor of 9/8 relative to uniform key draws. Two-byte binary strings attain the bound. Exact enumeration agrees with the formulas in 120 small cases. With all 256 byte values and a 256-bit ideal output, 17 bytes is the shortest fixed length that permits a one-half collision probability when all keys are queried. The ideal model gives a reference for SHA-256 tests.

SHA-256 · birthday problem · byte reversal · ideal compression · occupancy

No votes to show.

References

7
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  3. reviewshttps://www.maths.tcd.ie/EMIS/journals/EJP-ECP/article/download/58/58-115-1-PB.pdf
  4. useshttps://arxiv.org/abs/1504.03878
  5. reviewshttps://arxiv.org/abs/2610.28581
  6. usesFour messages suffice for two sources with equal repeat-count moments to give different digest-match variances under an ideal hash
  7. usesCounting possible final blocks bounds truncated collisions with SHA-256 padding and ideal compression

Cited by

1 publication
  1. One merged pair gives the sharp minimum increase in collision probability for distinct records under an ideal hash reviews