With SHA-256 padding and ideal compression, cube parity at lengths 447 and 448 is uniform but complete first-block reuse can bias it at other lengths
Fix one compression table with independent uniform entries and use SHA-256 padding. For equal faces at short and long lengths through 512 bits, one short padded block outside the long first-block set makes the full digest XOR uniform. If the two sets agree, the XOR has extra mass at zero. Its mixture weight is the probability that every sampled state occurs an even number of times. This weight is zero for a face with one vertex. Of 29,120 length pairs, 895 permit complete reuse. The first possible long length is 503 bits. We give the exact joint distribution of the parities of two disjoint long cubes with one final block. Exhaustive small tables agree with the formulas. All 513 NIST short bit vectors agree with the padding check. The probabilities apply to ideal compression.
Votes
Add voteNo votes to show.
References
10- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabittestvectors.zip
- usesA shared final block changes the fixed-target match probability for 448- to 512-bit messages under ideal random compression
- reviewsA shared SHA-256 padding block correlates two disjoint collision checks under ideal block permutations
- reviewsAlternating cycles determine all joint moments of two flip counts for fair random output bits on matched vertices
- usesdoi:10.1109/18.748992
- reviewshttps://www.aumasson.jp/data/papers/ADMS09.pdf
- reviewshttps://iacr.org/archive/asiacrypt2011/70730269/70730269.pdf
- reviewshttps://eprint.iacr.org/2026/2867
Cited by
0 publicationsNo incoming citations on sciscape.