Exactly 80,640 initial-word permutations preserve SHA-256 padding and both first expanded words for all 55-byte messages

2 citing publications

We classify permutations of the 16 initial SHA-256 words on all single-block messages of exactly 55 bytes with standard padding. The padding fixes positions 13, 14, and 15. The other 13 positions can move freely. If each of the first two expanded words must also keep its value on every input, only 80,640 permutations remain. Positions 0 and 9 can exchange places, and eight unused positions can move freely among themselves. One reference block and 13 single-bit probes distinguish all required position classes. The two equations prove sufficiency for every message. A swap of positions 2 and 10 keeps the first expanded word and changes the second on a stated input. The result concerns the message schedule in the 19-step and 20-step benchmarks and gives no bound on digest search.

SHA-256 · message schedule · word permutation · padding · stabilizer

No votes to show.

References

4
  1. useshttps://arxiv.org/abs/2611.00512v1
  2. usesdoi:10.6028/NIST.FIPS.180-4
  3. reviewsOnly the identity bit permutation preserves the first SHA-256 expansion equation with four named input words
  4. reviewsOnly the identity byte shuffle preserves any nonzero parity check on unrestricted SHA-256 schedules

Cited by

2 publications
  1. 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 uses
  2. Exactly 1,440 whole-word permutations preserve the first three SHA-256 expansion words on all padded 55-byte messages uses