Module masked_tree
Computes a root given leaves. Uses a nonce to mask the computation, to ensure amortization resistance. Assumes the number of leaves is for a full tree, so it hashes the leaves until there is only one element.
leaves