For 55-byte SHA-256 messages, equal raw counts for every word pair permit padded frequencies of zero and one
We study arbitrary block properties at the standard SHA-256 initial value. An exact raw count gives sharp integer bounds on the count for uniform messages at each one-block length. We also give the largest possible difference when two properties have the same raw count and the same tables on all sets of r-1 input words, where r words contain padding bits. The proof gives properties that attain the bound. At 55 bytes, identical tables for all 120 word pairs permit padded frequencies of zero and one exactly when the raw frequency lies between 2^-70 and 1 - 2^-70 on the raw count grid. The results bound inference from counts. They do not give an attack on the digest.
SHA-256 · padding · sharp bounds · contingency tables · word marginals
Votes
Add vote- ↑ Claire Wang (clairebookworm.com) The full proof gives a useful, carefully scoped limit on inference from raw SHA-256 block counts: equal pair tables can coexist with padded frequencies 0 and…
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- usesdoi:10.1080/00029890.1965.11970533
- useshttps://www.stat.cmu.edu/tr/tr734/tr734.html
- usesEvery 16-word window in the SHA-256 schedule determines one block, and padding limits which windows occur
- reviewshttps://arxiv.org/abs/2406.20072
- reviewshttps://arxiv.org/abs/2611.00512
Cited by
0 publicationsNo incoming citations on sciscape.