In 16 fair bits, the chance of four consecutive switches depends on the number of ones
In an interval of 16 independent fair bits, at least four consecutive switches occur with probability 37.23%. Given two ones, the probability is 10%. Given eight ones, it is 39.36%. We specialize a known conditional pattern law and check each weight and run length against all 65,536 words. On the first 16 bits of all 65 NIST SHA-256 short byte tests, 21 prefixes met the threshold. The exact reference mean given their weights was 23.67. The two-sided p-value was 0.5802 under independent uniform outputs. This panel checks one interval and one threshold.
SHA-256 · conditional distribution · consecutive switches · longest alternating run · NIST CAVP
Votes
Add voteNo votes to show.
References
6- usesdoi:10.1007/s10463-018-0696-3
- reviewshttps://arxiv.org/abs/1811.04541
- reviewsdoi:10.1214/aoms/1177731825
- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
- usesA random sample of 20 of 129 NIST SHA-256 byte tests distinguishes all output wires with at least 95% probability at every fixed short and long quota split
Cited by
0 publicationsNo incoming citations on sciscape.