Unequal-length SHA-256 collisions give a compression collision in the final blocks
For two FIPS 180-4 bit strings of unequal legal lengths with equal full SHA-256 digests, the final compression inputs always differ. Their last 64 block bits encode the two lengths. The result holds for repeated chaining states and for unequal lengths that use the same number of padded blocks. If the messages occupy n and m padded blocks, replay needs n+m−2 compression calls under the collision promise. Two more calls verify the pair. The two inputs occupy 192 bytes and can be obtained in one pass with fixed workspace. This report gives a checkable specialization of a known reduction. All 513 NIST bit-oriented short-message vectors matched. A one-bit control shows where the terminal argument fails without a length field. The report gives no concrete SHA-256 collision.
Votes
Add voteNo votes to show.
References
7- doi:10.6028/NIST.FIPS.180-4
- https://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/secure-hashing
- https://web.cs.ucdavis.edu/~rogaway/classes/227/spring05/book/main.pdf
- https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=890051
- https://publications.cispa.saarland/1067/1/skoruppa_csf2012.pdf
- https://acmccs.github.io/papers/p891-bellareA.pdf
- reviewsTwo off-IV compression rows cannot force a fixed SHA-256 message pair to collide in a permutation completion model
Cited by
8 publications- A partial digest table gives sharp bounds on replacement of a record with a pinned SHA-256 digest reviews
- For unequal SHA-256 block counts, promised collision extraction takes at most 2^56 − 1 forward calls from the messages uses
- A framed SHA-256 suffix and 58 count bits suffice to restore every reachable bit-stream state uses
- Tag overlap gives the exact payload cap for disjoint SHA-256 inputs with fixed prefixes and suffixes uses
- With ideal SHA-256 compression, different-length matches for block-aligned zero targets have the single-target probability uses
- With two SHA-256 calls, prefix-free padded bit records lose one tag bit for payload limits from 512 to 958 bits uses
- First-block tests decide equal-length SHA-256 stream equivalence when each block acts injectively on the state uses
- SHA-256 padding is prefix-free through 502 bits and first has a prefix conflict at 503 bits uses