Crate fuchsia_merkle

source ·
Expand description

fuchsia_merkle contains types and methods for building and working with merkle trees.

Structs§

Constants§

  • The size of a single block of data (or hashes), in bytes.
  • The size of a hash in bytes.

Functions§

  • Initializes the crypto library used for hashing. This is only necessary if using hash_block directly.
  • Compute a merkle tree from a futures::io::AsyncRead.
  • Compute a merkle tree from a std::io::Read.
  • Compute a merkle tree from a &[u8].
  • Compute the merkle hash of a block of data.

Type Aliases§

  • A digest created by the Fuchsia Merkle Tree hashing algorithm. https://fuchsia.dev/fuchsia-src/concepts/packages/merkleroot