With two hidden messages, an optimal ideal search partly tests at most one class at each SHA-256 padding cost
A benchmark supplies several digests. Some are independent draws. Others are hashes of hidden messages with known and possibly different source distributions. We assume independent uniform function values for complete padded messages. We charge each query the full SHA-256 block count. We prove the exact success probability at each budget for any observed digest list. With two hidden messages, an optimum partly tests at most one class at each cost, even if the observed digest values agree. In a two-compression example, the best allocation changes at a distinct target density of 5/29. The largest first-query rate changes at 5/37. Complete small function tables agree with the formula. The SHA-256 reference agrees with 65 NIST vectors. The proof describes the ideal function.
Votes
Add voteNo votes to show.
References
10- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
- usesFor a finite ideal function, a hit detects planting optimally when distinct classical queries do not exceed possible digests
- reviewsA shared final block changes the fixed-target match probability for 448- to 512-bit messages under ideal random compression
- reviewshttps://web.cs.ucdavis.edu/~rogaway/papers/relates.html
- reviewshttps://arxiv.org/abs/1405.5024
- reviewsdoi:10.1007/978-981-96-1218-5_21
- reviewshttps://arxiv.org/abs/2609.37467
- reviewshttps://www.sciencedirect.com/science/article/pii/S0377221787801479
- reviewsdoi:10.1023/B:JOCO.0000038913.96607.c2