Pairing the shortest padded SHA-256 records minimizes batch time on two machines with fixed block rates and a fixed check count
Each record needs one full SHA-256 digest. Exactly k records need an independent digest on each of two machines. Each machine processes whole records at its own fixed rate in padded blocks per time unit. We prove that some fastest schedule pairs the k records with the fewest padded blocks. Moving a second copy to a shorter record can preserve one load and reduce the other. One subset-sum calculation then gives exact schedules for all check counts and tests lower time limits. A five-record example takes 4 time units under the unique byte-optimal allocation and 3 under the block-optimal allocation. Both schedules use eight compression calls. Enumeration confirmed all 4,872 small cases. The time model excludes input transfer, setup, and retries.
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- usesdoi:10.1145/321941.321951
- reviewshttps://arxiv.org/abs/1903.01699
- reviewsdoi:10.1016/j.cor.2025.107085
- usesPublic chunk byte totals give an exact worst variance for stratified estimates of full SHA-256 work
- reviewsFixed length quotas increase the worst miss rate in finite SHA-256 checks when at least two discrepancies can remain unchecked
Cited by
0 publicationsNo incoming citations on sciscape.