English

A space- and time-efficient Implementation of the Merkle Tree Traversal Algorithm

Cryptography and Security 2014-09-16 v1 Data Structures and Algorithms

Abstract

We present an algorithm for the Merkle tree traversal problem which combines the efficient space-time trade-off from the fractal Merkle tree [3] and the space efficiency from the improved log space-time Merkle trees traversal [8]. We give an exhaustive analysis of the space and time efficiency of our algorithm in function of the parameters H (the height of the Merkle tree) and h (h = H L where L is the number of levels in the Merkle tree). We also analyze the space impact when a continuous deterministic pseudo-random number generator (PRNG) is used to generate the leaves. We further program a low storage-space and a low time-overhead version of the algorithm in Java and measure its performance with respect to the two different implementations cited above. Our implementation uses the least space when a continuous PRNG is used for the leaf calculation.

Keywords

Cite

@article{arxiv.1409.4081,
  title  = {A space- and time-efficient Implementation of the Merkle Tree Traversal Algorithm},
  author = {Markus Knecht and Willi Meier and Carlo U. Nicola},
  journal= {arXiv preprint arXiv:1409.4081},
  year   = {2014}
}

Comments

19 pages, 6 figures, 2 tables

R2 v1 2026-06-22T05:56:20.582Z