Wagner's
k-Tree Revisited: Memory-Time Costs of Preimage Attacks on Incremental Hashes
The paper extends post-retrieval to Wagner's $k$-tree algorithm, resolving the open $2^k$ memory exponent for this setting. The extension cuts peak working memory to $P_k\ell N=O(k^2\ell N)$ by removing the $2^{k-1}$ index entries from the forward pass, at the cost of a $\Theta(k)$ time overhead, which free $\delta$-level caching reduces without extra memory. Under the memory-time product $\mathsf{MT}=M\cdot T$, the gain depends on regime: for small $k$ the recovery overhead outweighs the saving, while for large $k$ the optimized leading-order $\log_2\mathsf{MT}$ drops from $4\sqrt{n}$ to $2\sqrt{2n}$. For fixed-size iSHAKE preimage attacks this saves about 51 and 122 bits over state-of-the-art index trimming for iSHAKE-128 and iSHAKE-256 in the unlimited-block setting, narrowing to roughly 6 and 8 bits under block-count caps.