Under a fixed byte tag and a two-block SHA-256 limit, all two-block records form the unique largest prefix-free padded family

2 citing publications

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.

SHA-256 · FIPS 180-4 · padding · antichain · Coq · prefix code

No votes to show.

References

6
  1. uses, supportsWith two SHA-256 blocks, prefix-free padded byte records lose one tag byte at payload limits of 64 bytes or more
  2. reviewsFor byte inputs, deepest records attain the tagged SHA-256 padding width at every block budget except the last
  3. usesdoi:10.6028/NIST.FIPS.180-4
  4. reviewshttps://arxiv.org/abs/1703.06133
  5. reviewshttps://isa-afp.org/entries/Dilworth.html
  6. reviewshttps://www.cs.princeton.edu/~appel/papers/verif-sha.pdf

Cited by

2 publications
  1. A free 24-octet status alphabet first loses a common optimum at 8,436 SHA-256 blocks in a CBOR sequence profile reviews
  2. With up to two SHA-256 blocks per record, one length-class bit resolves bounded hint delay, but a bare pulse can fail with one block of jitter reviews