For fixed-width hex, one case parity check on s positions excludes a fraction (6/11)^s / 2 of literal strings

0 citing publications

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.

SHA-256 · projected model counting · hexadecimal · affine case masks · message encoding

No votes to show.

References

8
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  3. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  4. useshttps://www.rfc-editor.org/rfc/rfc4648.html
  5. useshttps://arxiv.org/abs/1507.07648
  6. doi:10.1016/j.artint.2026.104605
  7. https://arxiv.org/abs/math/0503607
  8. 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 publications

No incoming citations on sciscape.