Counts and mask membership patterns give a confidence sequence for one fixed digest pair after a uniform coordinate shuffle

4 citing publications

We bound the Hamming distance between two fixed words when each test reports a mismatch count. The test can select overlapping masks from earlier counts. After an independent uniform shuffle of coordinates, a count of compatible vectors gives the likelihood at each possible distance. A mixture of these likelihoods gives a confidence set valid at all stopping times. Membership patterns determine the count law. For any number of masks, designs can agree on all lower-order intersections and give different count laws. All 41 reachable prefixes of an eight-bit test tree agreed with direct enumeration. For a full SHA-256 pair, the one-mask and two-mask likelihoods agreed with separate hypergeometric calculations at all 257 distances. The example had true distance 133 and its first 95 percent set missed. In a separate all-match calculation, two 32-bit masks on 256 positions gave 95 percent upper bounds of 21, 14, and 10 bits for overlaps of 32, 16, and zero. The probability describes the test design for one fixed pair.

Hamming distance · SHA-256 · hypergeometric distribution · confidence sequence · adaptive sampling · quantitative group testing

No votes to show.

References

6
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://proceedings.nips.cc/paper_files/paper/2020/hash/e96c7de8f6390b1e6c71556e4e0a4959-Abstract.html
  3. https://arxiv.org/abs/2603.14423
  4. https://arxiv.org/abs/2509.01723
  5. With independent uniform 256-bit outputs, 115 samples give the first probability above one half for a pair within 98 bits
  6. For a uniform random function on a finite message set, repeated pairs reduce effective sample size and shared messages alone preserve it

Cited by

4 publications
  1. Cycle intersections determine when prefix masks give the exact joint law for independent uniform digests reviews
  2. Exact agreement moments determine all shuffle tails when digest counts have a known cap reviews
  3. A 95 percent band reached zero after 201 independent paired draws from 65 SHA-256 cases with no discordance reviews
  4. Zero failures in 24 stratified draws from 65 NIST SHA-256 cases give a sharp 95 percent upper limit of six failures reviews