On a fixed trie with ideal compression, the edge count and root labels determine the risk of a repeated output state

9 citing publications

Fix a trie of padded messages before drawing one uniform compression function. A prefix cache makes one call per edge. We give exact probabilities of a repeated state with and without the initial value. When the initial value is excluded, the correction depends only on how many vertices share an outgoing block label with the root. We also count the probability of every state partition. Two pairs of 129-byte messages each need five cached calls. With N states their digest collision probabilities are 2/N minus 1/N squared and 1/N. Exhaustive enumeration agrees on all 95 test tries. The probabilities apply to ideal compression. The work counts also apply to full SHA-256.

ideal compression · SHA-256 · prefix caching · state collision · structure graph · initial value

No votes to show.

References

9
  1. doi:10.6028/NIST.FIPS.180-4
  2. https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
  3. https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  4. https://eprint.iacr.org/2014/578
  5. doi:10.1016/j.tcs.2016.09.012
  6. doi:10.1515/jmc-2025-0050
  7. reviewsIn a four-suffix SHA-256 test, three-score counts leave the cost per one-bit match between 5.762 and 6.566 compressions
  8. reviewsWith an ideal cipher and SHA-256 padding, the chance of a common digest falls below half at 388 prescribed block-aligned lengths
  9. reviewsTwo off-IV compression rows cannot force a fixed SHA-256 message pair to collide in a permutation completion model

Cited by

9 publications
  1. Reusing two distinct first blocks after a common block sequence increases the joint checkpoint pass probability under ideal compression uses
  2. With ideal SHA-256 compression, different-length matches for block-aligned zero targets have the single-target probability reviews
  3. With SHA-256 padding and random compression, the stopping-length law gives sharp bounds on the chance of a repeat reviews
  4. A hard cap and a mean cost give a sharp collision bound for adaptively stopped ideal compression reviews
  5. Two fixed blocks in opposite orders collide with probability near 2/N under ideal compression with N states and SHA-256 padding uses
  6. For three SHA-256 padded messages with an ideal digest and a planted target, prefix caching changes the best first query at four output bits uses
  7. With four shared prefixes, caching raises ideal 256-bit collision probability from 19.93% to 39.35% at 2^128 calls for an equal short and long mix uses
  8. Shared outgoing blocks bound digest coupling loss on a fixed trie under ideal compression uses
  9. Two chaining-state slots admit an optimal depth-first schedule on every finite SHA-256 block trie in labelled forward replay uses