Trait smtree::traits::Paddable[][src]

pub trait Paddable {
    fn padding(idx: &TreeIndex, secret: &Secret) -> Self;
}
Expand description

Trait for generating a padding node in the SMT.

Required methods

When the tree node of the input index doesn’t exist, we need to construct a padding node at that position.

Implementors