A generic binary [Merkle tree], designed for [Rust Crypto] digest functions.
Here is an example to calculate the merkle root for the identical 16 leaves with [SHA3]:
```rust,norun use hexliteral::hex; use merklelite::MerkleTree; use sha3::Sha3256;
let tree: MerkleTree
assert_eq!( tree.root(), hex!("34fac4b8781d0b811746ec45623606f43df1a8b9009f89c5564e68025a6fd604"), ); ```
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.