Module ic_certification::hash_tree
source · Expand description
Structs
- A HashTree representing a full tree.
- For labeled HashTreeNode
Enums
- A Node in the HashTree.
- A result of looking up for a certificate.
- A result of looking up for a subtree.
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