binius_core::merkle_tree

Function build

Source
pub fn build<F, H, C>(
    compression: &C,
    elements: &[F],
    batch_size: usize,
) -> Result<BinaryMerkleTree<Output<H>>, Error>
where F: TowerField, H: Digest + BlockSizeUser + FixedOutputReset, C: PseudoCompressionFunction<Output<H>, 2> + Sync,