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

7 citing publications

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

No votes to show.

References

7
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  3. usesdoi:10.48550/arXiv.0907.3740
  4. reviewsdoi:10.3390/cryptography8030040
  5. reviewsdoi:10.3390/cryptography10030032
  6. usesOne NIST block separates all distinct SHA-256 prefix functions with 0 to 64 rounds and permuted feed-forward words
  7. reviewsIn one-block SHA-256, 56 length-matched messages detect 137 single carry faults missed by 56 NIST vectors

Cited by

7 publications
  1. With the standard IV and 40-byte messages, register copies generate all constant parities across SHA-256 states 8 through 11 uses
  2. Four ideal digest values give an exact law for the leading singular value of a centered two-direction avalanche matrix reviews
  3. 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
  4. 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
  5. 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
  6. Five of 128 raw-block panels reached a SHA-256 working-state distance of 87 bits or less after 64 rounds reviews
  7. Four bits per word sum of squares isolate six copy candidates in 65,536 SHA-256 traces at rounds 20 and 21 uses