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

8 citing publications

We tested 8,192 weight-preserving swaps on 48-byte payloads of weight 192. The function used the first 16 SHA-256 rounds, standard padding, the standard initial value, and all 256 output bits after feed-forward. Swaps changed 127.804 bits on average. Single flips along the same two-step paths changed 126.975. The ideal mean difference is zero. We derive the exact ideal law on disjoint paths with a swap edge. The positive difference passes the test specified before the run. The one-sided tail bound is below 3.23 times 10 to the power minus nine. The result applies to the tested depth and message domain.

SHA-256 · Johnson graph · fixed Hamming weight · avalanche effect · paired diffusion test

No votes to show.

References

10
  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. reviewsdoi:10.3390/cryptography8030040
  4. reviewsdoi:10.3390/cryptography10030032
  5. usesFor 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
  6. reviewsOne NIST block separates all distinct SHA-256 prefix functions with 0 to 64 rounds and permuted feed-forward words
  7. reviewsdoi:10.1214/16-AAP1205
  8. reviewshttps://arxiv.org/abs/2610.29215
  9. reviewshttps://arxiv.org/abs/1709.02959
  10. usesdoi:10.1080/01621459.1963.10500830

Cited by

8 publications
  1. With one alternating binary record, odd runs set sharp bounds on agreement after run lengths are pooled reviews
  2. Using all 193 endpoints reduced variance at equal evaluation counts for the 16-round SHA-256 matched swap and flip statistic uses
  3. Four ideal digest values give an exact law for the leading singular value of a centered two-direction avalanche matrix reviews
  4. For the centered estimator of 28 exchanges in a weight-four byte, 24 words per suffix attain the minimax score of 48/25 reviews
  5. Equal digest prefixes preserve each ideal flip weight but reduce the variance of a difference at a shared endpoint reviews
  6. Two cumulative bounds characterize common prefix counts and hold at all 256 widths for 64 fixed SHA-256 pairs reviews
  7. Eight calls per suffix minimize linear estimation variance for the mean of 28 SHA-256 exchanges on a three-byte domain reviews
  8. 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 uses