pub trait Paddable { fn padding(idx: &TreeIndex, secret: &Secret) -> Self; }
Trait for generating a padding node in the SMT.
When the tree node of the input index doesn’t exist, we need to construct a padding node at that position.