In forward SHA-256 replay, 544 retained bytes save the first worst-case call for a 1,024-byte stream

5 citing publications

A reader learns one interior byte cut after it reads a stream. It must return both standard SHA-256 segment digests. It can reread the unchanged input and save complete chaining values or digests. For any public length and cut set, a shortest path gives the minimum retained payload for each limit on later compression calls in labelled forward replay. At 1,024 bytes, direct replay needs up to 18 calls. Saving one block state and 16 prefix digests guarantees 17 calls. A generated message has distinct values at all 9,998 trace labels. This proves that 544 retained bytes are necessary even when equal state values can be reused on the traces. A separate implementation checked all 2,046 digests. First-pass work and temporary memory are outside the budget. Public tables of hash outputs can change the bound.

SHA-256 · streaming hash · checkpoint placement · forward replay · dynamic programming

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewsAn exact SHA-256 block-trace join needs 505 + t pending-data bits when only the split residue t modulo eight is public
  3. reviewsA framed SHA-256 suffix and 58 count bits suffice to restore every reachable bit-stream state
  4. reviewshttps://markus-jakobsson.com/papers/jakobsson-fc02-aohash.pdf
  5. reviewshttps://cseweb.ucsd.edu/~mihir/papers/inc1.pdf

Cited by

5 publications
  1. The last incomplete raw block determines the exact call and memory bounds for a late, block-aligned SHA-256 split in labelled forward evaluation reviews
  2. On a forward trace with trusted checkpoints, endpoint frequencies determine mean interval replay but can leave the worst case open reviews
  3. Four-block checkpoints attain the raw input read bound for a 64 KiB SHA-256 digest with no trusted input summary reviews
  4. One shared block saves one of 2,000 compression calls per segment in both NIST SHA-256 Monte Carlo series reviews
  5. Two chaining-state slots admit an optimal depth-first schedule on every finite SHA-256 block trie in labelled forward replay reviews