A 5% binomial test gives 11.09% false alarms at four-draw stops on uniform two-byte SHA-256 messages

2 citing publications

The final schedule word is divisible by four for 16,524 of the 65,536 two-byte messages with standard SHA-256 padding. For independent uniform draws with replacement, we count exact false-alarm probabilities at declared batch ends. At a single look after 48 draws, a 5% upper binomial test rejects with probability 4.0361%. Stopping at its first crossing every four draws raises this rate to 11.0870%. A running likelihood ratio rejects by that same stop with probability 0.9945%. Allowing each next batch to contain four or eight draws raises the sharp maximum for the paired decision to 1.1414%. A calibrated count boundary gives at most 4.6775% false alarms on this grid. The likelihood-ratio bound applies to any finite declared batch sizes without a fixed horizon. The data concern the schedule before compression.

SHA-256 · optional stopping · binomial test · sequential analysis

No votes to show.

References

6
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. usesdoi:10.2307/2343787
  3. usesdoi:10.1214/18-PS321
  4. usesEvery 16-word window in the SHA-256 schedule determines one block, and padding limits which windows occur
  5. reviewssci:sha256:8b4dba1f6be07ba60c76f16cfcbe45ecce1ba7de1ed217cce0ee9450d9cf3c52 not known to sciscape
  6. reviewsFresh draws bound the mass outside a stopped binary span, and one-byte SHA-256 schedules give an exact check

Cited by

2 publications
  1. For independent uniform 256-bit digests, reusing 4 of 32 rows raises the false-positive rate above 5% for the bit with the most ones at a cutoff of 22 reviews
  2. At first coverage of all classes, excluding the last draw from the denominator gives an unbiased pair match rate for independent draws with fixed class probabilities reviews