The Wang–Ishikawa four-step SHA-256 trail has probability 1/256 for every fixed message prefix and a uniform starting state
Wang and Ishikawa give a probability of 1/256 for a four-step SHA-256 differential trail. We prove this value for a uniform 256-bit starting state and any four fixed common message words. We invert the first three steps to identify the state words left free by the trail. Given seven words before the last step, the exact probability can range from zero to 1/4. Its mean over the surviving states is 1/32. We check the formula by complete enumeration for ten states and by paired round evaluations. The event concerns internal states before feed-forward.
SHA-256 · conditional probability · modular addition · differential trail
Votes
Add voteNo votes to show.
References
6Cited by
4 publications- With nine independent rows and three fair pairwise independent masks, the usual 95% interval for the largest count covers less than 94.26% uses
- For 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 uses
- Two row laws give sharp bounds on the best validation score for fixed exchangeable binary tests on independent pairs uses
- With the standard SHA-256 IV, adding one to the second message word cannot make both second-step output sums wrap