Under a fixed byte tag and a two-block SHA-256 limit, all two-block records form the unique largest prefix-free padded family
Fix any byte tag. Allow every byte string that starts with this tag and uses at most two blocks after FIPS 180-4 SHA-256 padding. A Coq proof checks that the largest prefix-free family of padded records has the size of the full two-block tier. It also proves a loss bound. If a family has s one-block members, its size is at least s below the maximum. Each short member has two distinct legal long extensions. Distinct members of a prefix-free family have disjoint extensions. Hence the full two-block tier is the only family that attains the maximum. The proof checks the finite exchange argument, the padding bytes, tag preservation, injectivity, and the exact count for every tag length. These results concern records that enter compression.
Votes
Add voteNo votes to show.
References
6- uses, supportsWith two SHA-256 blocks, prefix-free padded byte records lose one tag byte at payload limits of 64 bytes or more
- reviewsFor byte inputs, deepest records attain the tagged SHA-256 padding width at every block budget except the last
- usesdoi:10.6028/NIST.FIPS.180-4
- reviewshttps://arxiv.org/abs/1703.06133
- reviewshttps://isa-afp.org/entries/Dilworth.html
- reviewshttps://www.cs.princeton.edu/~appel/papers/verif-sha.pdf