With four copies of each lowercase ASCII hex digit, SHA-256 loses adjacent parity symmetry at W16 and expanded-pair symmetry at two bits

1 citing publication

We shuffled 64 lowercase ASCII hex digits with four copies of each character. We counted ordered pairs of low residues in the first SHA-256 message block. The last seed word and the first expanded word have a parity swap gap of 5/1209264. The first two expanded words have equal marginals for every fixed histogram. Their parity pair is exchangeable. With four copies of each digit, their two-bit pair has unequal counts for (0,1) and (1,0). The independent uniform control gives equal counts in all 16 cells. For every mixture of ASCII zeros and ones in which both characters occur, W17 and W18 form the first asymmetric parity pair among adjacent expanded words. These results use the schedule before compression.

SHA-256 · message schedule · exchangeability · finite population · ASCII hexadecimal · exact counting

No votes to show.

References

4
  1. usesFor 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. usesdoi:10.6028/NIST.FIPS.180-4
  3. https://eprint.iacr.org/2008/174
  4. doi:10.3390/cryptography8030040

Cited by

1 publication
  1. Under a uniform word permutation of a fixed SHA-256 block, W16 has at most 21,840 values, and a padded 55-byte message attains the bound reviews