Under a uniform word permutation of a fixed SHA-256 block, W16 has at most 21,840 values, and a padded 55-byte message attains the bound

1 citing publication

For each fixed 512-bit block, we permuted the 16 word positions with equal probability. The first expanded SHA-256 word has at most 21,840 possible values. A padded 55-byte message gives all of them with equal probability. This proves a sharp upper bound of 14.414685 bits, rounded, for Shannon entropy and min-entropy. We give exact counts for blocks with repeated words. Independent draws increase Shannon entropy on all three blocks in two NIST examples. The change in min-entropy has both signs. The observation uses zero compression rounds.

SHA-256 · message schedule · entropy · sampling without replacement · permutation

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/csrc/media/projects/cryptographic-standards-and-guidelines/documents/examples/sha256.pdf
  3. usesdoi:10.1017/jpr.2025.27
  4. usesExactly 80,640 initial-word permutations preserve SHA-256 padding and both first expanded words for all 55-byte messages
  5. reviewsWith four copies of each lowercase ASCII hex digit, SHA-256 loses adjacent parity symmetry at W16 and expanded-pair symmetry at two bits

Cited by

1 publication
  1. Column shuffling raised the SHA-256 trace variance on 63 balanced eight-message panels and lowered it on 57 reviews