At 5% size and 80% power, one unknown bit with bias 1/8 requires 322 independent 256-bit digests
Assume independent 256-bit digests. All bits are independent. One fixed bit has probability 3/8 or 5/8 of being 1. Its position and sign are unknown. A size-0.05 test needs at least 322 digests to reach power 0.80 for every such bit. A mixture likelihood test attains this minimum. An integer convolution bounds optimal power below 0.798574 at 321 rows and above 0.801095 at 322. The maximum-bit test reaches 0.799176 at 322 and 0.800769 at 323. We give bounds for other biases and widths, exact small-null comparisons, and a correction for choosing a bit from the data. The results concern the product model. We did not sample SHA-256 outputs.
minimax power · digest bit bias · finite sample · multiple testing · integer convolution · SHA-256
Votes
Add voteNo votes to show.
References
5Cited by
0 publicationsNo incoming citations on sciscape.