Expand description

Structs§

Enums§

Functions§

  • Create an empty hash tree.
  • Create a forked tree from two trees or node.
  • Identifiably hashes a fork in the branch. Used for hashing [HashTree::Fork].
  • Create a labeled hash tree.
  • Identifiably hashes a label for this branch. Used for hashing [HashTree::Labeled].
  • Create a leaf in the tree.
  • Identifiably hashes a leaf node’s data. Used for hashing [HashTree::Leaf].
  • Create a pruned tree node.
  • Create a pruned tree node, from a hex representation of the data. Useful for testing or hard coded values.

Type Aliases§

  • Sha256 Digest: 32 bytes