pub fn hash_mmr_leaf(data: &[u8]) -> MmrHashExpand description
Hash arbitrary data into an MMR leaf with domain separation. Domain tag 0x00 for leaves, 0x01 for internal nodes (in Merge). This prevents second-preimage attacks where a leaf hash could be mistaken for an internal node hash.