Seven input bits need 36 messages for two squares per orientation and 64 for seven
Fix seven distinct input bits at one base. Require at least t complete squares for every pair of these bits. We give the exact minimum message count and one optimal set for each t from 1 through 32. Compression reduces the search to downward closed sets. Two integer searches check all lower bounds. Six squares per orientation need 63 messages. Seven need 64 and eight need 71. For independent fair digest bits, the variance of the mean parity on F distinct squares is 1/(4F). Full cubes attain the best variance per call for fixed weighted averages of these parities. We tested the first digest bit of full SHA-256 on 32-byte messages with the low seven input bits free. In 1,024 batches of 8,064 calls per design, isolated faces had 4.64 times the variance of a 36-message design and 19.84 times the variance of full cubes. The three variances were within 3.2 percent of the ideal predictions. The empirical comparison covers one output bit and one set of input positions.
Votes
Add voteNo votes to show.
References
8- reviewsdoi:10.1016/S0195-6698(13)80134-5
- reviewsdoi:10.48550/arXiv.2405.19066
- reviewshttps://ljcr.dmgordon.org/cover.html
- reviewshttps://eprint.iacr.org/2010/417
- usesdoi:10.6028/NIST.FIPS.180-4
- reviewsFour ideal digest values give an exact law for the leading singular value of a centered two-direction avalanche matrix
- reviewsTwo XOR difference rows on one affine domain have an exact joint law for an ideal digest
- reviewsAdjacent shared-edge weights can preserve independence of triangle and square tests on ideal 256-bit digests