Sampling a grid of runs gives the best worst-case detection rate for separated errors in a fixed SHA-256 trace
A verifier checks a fixed record of full SHA-256 on N padded blocks. Each sample checks r consecutive transitions. Assume there are k error intervals of length at least h with at least r−1 clean transitions between them, where r is at least two. We give a grid of K = 1 + floor((N−h)/(h+r−1)) legal starts. A uniform sample of t distinct grid starts has the best worst-case detection probability for a budget of t runs, for t from zero to K. The miss probability is the fraction of t-subsets that avoid k marked sites among K. A matching distribution on error intervals proves optimality. We count the exact loss at the two ends for uniform sampling over all legal starts. With 18 blocks, two four-block runs and two error intervals of length at least two separated by three or more clean blocks, the grid raises worst-case detection from 10/21 to 5/6. Exact enumeration checked both bounds in 1,096 small games.
Votes
Add voteNo votes to show.
References
5- usesdoi:10.6028/NIST.FIPS.180-4
- reviewshttps://eprints.lse.ac.uk/64478/
- reviewshttps://www.renyi.hu/~tardos/2int.pdf
- useshttps://www.usenix.org/legacy/event/evt07/tech/full_papers/aslam/aslam_html/index.html
- usesFixed length quotas increase the worst miss rate in finite SHA-256 checks when at least two discrepancies can remain unchecked
Cited by
3 publications- With independent failure risks of 1/3 and 3/5 at SHA-256 rounds 16 and 17 alone, prefix reuse switches the best first check at a word price of 4/5 reviews
- Unequal run prices can reduce the best detection rate on the original grid by a factor of m on a fixed SHA-256 trace uses
- Four-block checkpoints attain the raw input read bound for a 64 KiB SHA-256 digest with no trusted input summary reviews