Only byte reversal preserves a common positive weighted Hamming distance for both byte-swapped SHA-256 small sigma maps

0 citing publications

We compare both FIPS small sigma maps on all 32-bit words with their byte-swapped forms. The same positive coordinate weights must give the same distance in both representations for every pair of words and for each map. Among all input bit permutations, only the byte swap passes. The weights must match on each of its 16 exchanged pairs. Reversing the bit order inside any nonempty subset of the four bytes as an extra input operation forces all weights to zero, even if signed weights are allowed. For each of the 15 masks, 32 measurements with one or two changed input bits prove this result. Measuring before the maps requires only equal weights on permutation cycles. The proof uses zero compression rounds.

SHA-256 · small sigma · weighted Hamming distance · byte order · coordinate permutations

No votes to show.

References

4
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewshttps://arxiv.org/abs/2601.12998
  3. usesOn 32-bit words, byte reversal agrees with SHA-256 small sigma 0 through two steps on 16 inputs and through three steps only on zero
  4. reviewsOnly the identity bit permutation preserves the first SHA-256 expansion equation with four named input words

Cited by

0 publications

No incoming citations on sciscape.