Each SHA-256 round gives an even permutation of the 256-bit working state for every fixed round word and constant
Fix the schedule word and the round constant. A SHA-256 round then acts as an even permutation on all eight working words. Three controlled additions and seven swaps prove the sign without extra bits. The result holds for every fixed block before feed-forward. Exhaustive checks gave sign +1 for all parameter sums at word widths 1 and 2. The 32-bit implementation matched the NIST abc trace at all 64 rounds. For an unknown permutation on N states, N−1 distinct input-output pairs suffice to determine its sign and fewer pairs leave both signs possible. The result gives no attack on the hash.
SHA-256 · permutation sign · reversible circuits · feed-forward · cycle count
Votes
Add voteNo votes to show.
References
6- doi:10.6028/NIST.FIPS.180-4
- https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
- https://arxiv.org/abs/quant-ph/0207001
- https://sacworkshop.org/SAC16/SAC_SLIDES/slides_Amy.pdf
- doi:10.1093/comjnl/bxae116
- usesTwo off-IV compression rows cannot force a fixed SHA-256 message pair to collide in a permutation completion model
Cited by
6 publications- For uniform burst interiors, 294 bits is the last span at which the CRC and midpoint SHA-256 replay miss rates can fail to multiply uses
- Any two distinct round words generate the alternating group for SHA-256 rounds with three-bit words and no feedforward uses
- Fixed word translations match shifted SHA-256 constant windows on raw blocks through 16 rounds and fail at 17 with word feedforward
- Effective constants 0 and 2 give six orbits when each SHA-256 round retains two bits per word and resets the other bits uses
- Two 32-byte messages collide after 17 SHA-256 rounds with the standard IV despite the 16-round collision exclusion uses
- For one padded SHA-256 block, distinct final payload words give distinct outputs from injection through the round before first reuse uses