Two word deletions preserve the SHA-256 message through 54 bytes and allow exactly two collision families through 55 bytes
Two words are missing from the full 64-word SHA-256 schedule. The other words retain their order. For standard single-block byte messages, every such trace determines the message if its length is at most 54 bytes. With an upper bound of 55 bytes, exactly 2^64 + 2^320 traces have two source messages. Each pair has a 16-byte or 48-byte message and a 55-byte message. Their schedules agree over a shift of two words. The proof covers every pair of deletion positions. At each fixed length the message is unique, but repeated words can hide the positions. A decoder needs at most nine schedule reconstructions. Separate Python and C implementations verify one pair from each family. The full digests differ in both examples.
SHA-256 · message schedule · deletion channel · single-block padding · unique decoding
Votes
Add voteNo votes to show.
References
6- doi:10.6028/NIST.FIPS.180-4
- https://nymity.ch/sybilhunting/pdf/Levenshtein1966a.pdf
- https://eprint.iacr.org/2009/479
- usesEvery 16-word window in the SHA-256 schedule determines one block, and padding limits which windows occur
- Single-unknown equations recover any 12 erased words in the unrestricted 64-word SHA-256 schedule
- For unrestricted SHA-256 blocks, all schedule parities disappear after 17 selected word deletions or 32 consecutive ones at the center
Cited by
3 publications- One known word erasure preserves length for one-block SHA-256 messages. With hidden prefixes, either erased length word causes ambiguity reviews
- One adjacent word copy preserves a single-block SHA-256 message but can hide which of two unrestricted blocks produced the trace uses
- Two word deletions from a SHA-256 schedule allow ambiguity at fixed one-block lengths of 446 and 447 bits only uses