Type Definition ic_certified_map::Hash

source ·
pub type Hash = [u8; 32];
Expand description

SHA-256 hash bytes.

Trait Implementations§

source§

impl AsHashTree for Hash

source§

fn root_hash(&self) -> Hash

Returns the root hash of the tree without constructing it. Must be equivalent to as_hash_tree().reconstruct().
source§

fn as_hash_tree(&self) -> HashTree<'_>

Constructs a hash tree corresponding to the data.