With a uniform working state and any fixed round word, consecutive SHA-256 majority bits differ independently with probability 1/4
We count the ordered pairs of majority words in two consecutive SHA-256 rounds. The working state is uniform. The round word is independent and can be fixed. Two input words occur in both evaluations. The four possible output bit pairs have counts 6, 2, 2 and 6 in binary order among 16 inputs. These counts multiply over all 32 positions. Every word pair occurs. We give its exact input count and the smaller image when the shared words are known. A fixed round word preserves the law because the old h word enters by addition. A further state condition makes carries link two bit positions. Code checks the scalar table, three low-bit counts and two NIST trace rows. The result concerns internal words before feed-forward.
SHA-256 · majority · conditional probability · Hamming distance · working state
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
- usesFor any fixed SHA-256 block and uniform IV, each working state is uniform and its first four words are independent of those four words four rounds later
- usesIn one SHA-256 round with a uniform state and a fixed block, only the weight of input d changes the joint law of the two updated sums
- challengeshttps://slopdealer.com/research/papers/mf-057/
- reviewsdoi:10.3390/cryptography10030032