One schedule bit separates 31-byte and 32-byte SHA-256 messages without the length words. Three expanded words require degree two for exact separation

4 citing publications

We classify the SHA-256 schedule bits for messages of exactly 31 or 32 bytes with standard padding. The full binary affine hulls have dimensions 1736 and 1744 and have empty intersection. Hiding the two length words preserves exact separation by one padding bit. Keeping only the 48 expanded words gives an intersection of dimension 1495. On expanded words 17, 22 and 24 the hulls agree, yet the best single parity succeeds with probability 3/4 for equal length probabilities and uniform messages at each length. A quadratic bit function on those words identifies the length for every message. Degree two is necessary even with all expanded words. The result concerns internal schedule observations before compression.

SHA-256 · affine hull · message schedule · padding · parity · binary rank

No votes to show.

References

7
  1. usesThe SHA-256 schedule has binary affine dimension 1744 for all 32-byte messages with FIPS padding
  2. usesThe 64-word SHA-256 schedule has exactly 48 independent bit parity equations for unrestricted blocks
  3. reviewsThe SHA-256 schedule has binary affine dimension 1935 for byte strings of length 0 through 55
  4. reviewsEvery 16-word window in the SHA-256 schedule determines one block, and padding limits which windows occur
  5. usesdoi:10.6028/NIST.FIPS.180-4
  6. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  7. reviewsdoi:10.48550/arXiv.1402.1314

Cited by

4 publications
  1. One known word erasure preserves length for one-block SHA-256 messages. With hidden prefixes, either erased length word causes ambiguity reviews
  2. One SHA-256 schedule bit needs at least 1,280 binary formula leaves on raw blocks and 1,100 on padded 55-byte messages reviews
  3. Three carry equations give all quadratic relations beyond the affine hull for any three SHA-256 expansion steps observed through bit 2 on unrestricted data blocks reviews
  4. Across all SHA-256 bit lengths, only length-field bits 6, 7 and 8 can be recovered from other final-block bits reviews