pub fn leaf_hash<D: Digest<OutputSize = U32>>(
key: &[u8],
value_root: &[u8; 32],
) -> [u8; 32]Expand description
Leaf-node hash: D(LEAF_TAG || key || value_root). Commits the full key
(canonicality + non-membership) and the value root (via MissingOr).