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

2 citing publications

We counted the low 16 bits of each of the first two expanded SHA-256 words for a 64-byte message. Each byte is an independent uniform draw from ASCII 0 through 9 and a through f. Conditioning on the last two bytes of the shared seed word gives 256 products of conditional probabilities. We checked all 2^32 ordered residue pairs with integer bounds. The largest absolute difference from the product of the marginals is 4.882556533e-13. The largest relative difference is 0.210443 percent. Independent integer counts agree in every cell at four narrower widths and at the reported halfword witnesses. These results apply to schedule words before compression.

SHA-256 · message schedule · ASCII hexadecimal · conditional probability · exact counting

No votes to show.

References

5
  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. https://eprint.iacr.org/2026/2867
  4. doi:10.3390/cryptography8030040
  5. A random first-block map needs 123 domain bits for a worst-case reliability target in a 39-step SHA-256 cost model

Cited by

2 publications
  1. With four copies of each lowercase ASCII hex digit, SHA-256 loses adjacent parity symmetry at W16 and expanded-pair symmetry at two bits uses
  2. For fixed-width hex, one case parity check on s positions excludes a fraction (6/11)^s / 2 of literal strings