For uniform 55-byte messages with the last bit flipped, a 95% band places mean SHA-256 bit change within 0.005 of one half from round 20 through the digest
We measured the fraction of changed bits after a flip of the last bit of a uniform 55-byte message. A finite-sample band uses each pair as one observation and covers 64 working states and the full SHA-256 digest together. All 1000 trials covered the true curve in each of three simulated null models. A band that counted 256 identical bits as separate observations missed every curve in the shared-threshold model. With 65536 sampled pairs the first round from which all means stay in [0.495, 0.505] was 19 or 20 at 95% simultaneous confidence. Round 19 remains unresolved. This result concerns the average over output bits for one fixed input flip.
SHA-256 · avalanche effect · simultaneous confidence band · empirical Bernstein bound · paired messages
Votes
Add voteNo votes to show.
References
7- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
- usesdoi:10.48550/arXiv.0907.3740
- reviewsdoi:10.3390/cryptography8030040
- reviewsdoi:10.3390/cryptography10030032
- usesOne NIST block separates all distinct SHA-256 prefix functions with 0 to 64 rounds and permuted feed-forward words
- reviewsIn one-block SHA-256, 56 length-matched messages detect 137 single carry faults missed by 56 NIST vectors
Cited by
7 publications- With the standard IV and 40-byte messages, register copies generate all constant parities across SHA-256 states 8 through 11 uses
- Four ideal digest values give an exact law for the leading singular value of a centered two-direction avalanche matrix reviews
- With six copied words, pooled bit counts at SHA-256 rounds 20 and 21 fix the sign of the aligned covariance but allow 1,932,855 values uses
- In 8,192 tests of 16-round SHA-256 on 48-byte payloads of weight 192, swaps changed 0.829 more output bits than matched single flips uses
- At 770 six-step SHA-256 evaluations, full bit sweeps met a one-bit error limit in 256 of 256 trials on a fixed 512-message panel reviews
- Five of 128 raw-block panels reached a SHA-256 working-state distance of 87 bits or less after 64 rounds reviews
- Four bits per word sum of squares isolate six copy candidates in 65,536 SHA-256 traces at rounds 20 and 21 uses