Distinct ordered subtrees give the exact query count before a collision in a tagged binary commitment forest
A fixed batch of ordered binary trees uses one distinct whole hash input per distinct subtree and count wrapper on every collision-free run. For a uniform 256-bit random function, this count gives the exact birthday product for any collision among the calls and an upper bound for a commitment collision. For a uniform tree with one changed leaf per version, we prove an exact formula in terms of leaf positions and attain both extrema at each batch size. Two full SHA-256 implementations agreed on the examples. At 256 leaves, all 256 changes and the base tree used 777 distinct messages in 131,584 call occurrences.
SHA-256 · Merkle tree · random oracle · birthday bound · subtree sharing
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://www.rfc-editor.org/rfc/rfc9162.html
- useshttps://openproceedings.org/2013/conf/icdt/LohreyMN13.pdf
- useshttps://cr.yp.to/bib/2004/bellare-games.pdf
- reviewsdoi:10.1515/jmc-2025-0050
- reviewsSHA-256 padding is prefix-free through 502 bits and first has a prefix conflict at 503 bits
Cited by
6 publications- Two exact bounds give the SHA-256 cost of batch openings for every RFC 9162 tree size reviews
- With one missing sibling in an ideal-function Merkle tree, the leaf probability depends on the source at fixed size and query budget reviews
- Shared single collisions determine the first-order covariance of digest equality tests in fixed ideal Merkle trees uses
- Three source switches can require every parent hash in a stable merge of two authenticated runs of equal power-of-two size uses
- The longest compatible prefix per distinct input gives the exact pass probability when fixed claims determine all hash inputs reviews
- Two Clean compression calls give the RFC 9162 SHA-256 parent for normalized child words reviews