Registry / crypto / merkle-cbt

merkle-cbt

JSON →
library0.3.2rscratesunverified

A library for generating efficient Merkle tree and combined Merkle proof based on complete binary tree.

# Cargo.toml [dependencies] merkle-cbt = "0.3.2"
INSTALL
IMPORT
SIG · MERKLE-CBT
M
merkle-cbt
cryptorustv0.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MerkleTree
use merkle_cbt::MerkleTree;

Creates a Merkle tree from a list of items and prints the root hash.

use merkle_cbt::MerkleTree; fn main() { let tree = MerkleTree::new(vec!["a", "b", "c"]); println!("Root: {:?}", tree.root()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
merkle-cbt — cargo add merkle-cbt · libregistry