Crate algae_merkle

source ·

Modules

Structs

Enums

Traits

Functions

  • Combines two hashes into a single hash
  • Merges two hashes into a string
  • Creates a Merkle tree from a slice of data
  • Verify that the datum hash with a vector of proofs will produce the Merkle root. Also need the index of datum and leaf_size, the total number of leaves.
  • Takes the hash of the given information to the second degree