Function tree_hash::mix_in_length
source · pub fn mix_in_length(root: &Hash256, length: usize) -> Hash256
Expand description
Returns the node created by hashing root
and length
.
Used in TreeHash
for inserting the length of a list above it’s root.