Expand description
Implementation of functionality related to the tree.
Structsยง
- Block
Hasher - Incremental hasher for a single block, this can only be used to hash only one block.
- Hash
Tree - The hash tree generated using a
HashTreeBuilder
. - Hash
Tree Builder - An incremental Blake3 hasher that also maintains an array representation of the full Blake3 tree, the generated array will be in the same stack ordering as Blake3.
- IV
- Initialization vector for a Blake3 hasher, if
BlockHasher::new()
orHashTreeBuilder::new()
are not sufficient for you and you need more customization on the IV, such as keyed hash function, you can achieve it by constructing theIV
first using a method likeIV::new_keyed
and convert it to either of these by simply using theInto
trait.