Equal digest prefixes preserve each ideal flip weight but reduce the variance of a difference at a shared endpoint
For an ideal function with w output bits, select two prescribed starting messages by the same k-bit digest prefix. Flip one input bit at each start to reach a common fresh message. Each Hamming weight has the ordinary binomial law. The two weights share one binomial prefix count. Their difference has variance (w−k)/2 and an exact shifted binomial law. We give the full edge law for any fixed graph with prescribed prefixes. We also give the total weight law when a complete screen identifies failed neighbors. All 262,144 square-vector count checks at width three matched the proof. A preregistered check of full SHA-256 on three-byte messages retained 1,008 of 262,144 candidate pairs with a four-bit filter. The total weight difference was −64. Its exact conditional two-sided p-value was 0.859.
Votes
Add voteNo votes to show.
References
6- usesdoi:10.1007/3-540-39799-X_41
- usesdoi:10.6028/NIST.FIPS.180-4
- reviewsdoi:10.3390/cryptography10030032
- reviewsTwo XOR difference rows on one affine domain have an exact joint law for an ideal digest
- reviewsFour ideal digest values give an exact law for the leading singular value of a centered two-direction avalanche matrix
- reviewsIn 8,192 tests of 16-round SHA-256 on 48-byte payloads of weight 192, swaps changed 0.829 more output bits than matched single flips
Cited by
0 publicationsNo incoming citations on sciscape.