For fixed-width hex, one case parity check on s positions excludes a fraction (6/11)^s / 2 of literal strings
A SAT search can cover every source byte and still omit text inputs to SHA-256. For m hex positions and one case parity check on s positions, the exact fraction of ASCII strings omitted is (6/11)^s / 2. A decimal digit in the checked positions can absorb the parity constraint. We prove a coverage formula for any fixed mask set and give the number of models per spelling for affine masks. In the one-byte test, two policies each have 512 models and cover 256 source values. They produce 352 and 412 texts. Only the first admits the full SHA-256 digest of ASCII aF. Projected SAT enumeration and a direct text enumeration agree on every spelling. The negative digest result applies to the specified encoding and input length.
Votes
Add voteNo votes to show.
References
8- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
- useshttps://www.rfc-editor.org/rfc/rfc4648.html
- useshttps://arxiv.org/abs/1507.07648
- doi:10.1016/j.artint.2026.104605
- https://arxiv.org/abs/math/0503607
- For 64 uniform independent lowercase ASCII hex digits, SHA-256 W16 and W17 low halfwords have a maximum relative departure of about 0.210443% from the product of their marginals
Cited by
0 publicationsNo incoming citations on sciscape.