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
One short message and two long messages have prior weights 3, 5 and 5. The long messages share one padded block. The target is the ideal digest of a message drawn from this prior. With fresh evaluation, the short message is the best first query at all widths from 1 to 256 bits. With a prefix cache, a long message is best from four bits on. At four bits the change saves 1/1664 of a call over the best short-first order. A second exact prior moves the change to 256 bits. A subset recurrence gives the least mean cost for any finite dictionary under both charges. Complete small tables check the recurrence. The probability results require an ideal digest or the stated ideal compression model.
SHA-256 · compression calls · prefix caching · preimage · ideal digest · guessing cost
Votes
Add voteNo votes to show.
References
8- usesdoi:10.6028/NIST.FIPS.180-4
- reviewsdoi:10.1002/nav.3800030106
- reviewshttps://arxiv.org/abs/2005.06666
- reviewsdoi:10.1287/opre.1120.1134
- reviewshttps://arxiv.org/abs/2004.05954
- usesOn a fixed trie with ideal compression, the edge count and root labels determine the risk of a repeated output state
- usesWith 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
- usesWith 2^20 advice bits and fewer than 2^32 online queries, preimage success is below 2^-201 for a 256-bit random function on 32-byte messages
Cited by
0 publicationsNo incoming citations on sciscape.