Skip to main content

leaf_hash

Function leaf_hash 

Source
pub fn leaf_hash(
    kind: LogEntryKind,
    seq: u64,
    timestamp_version: u64,
    prev_leaf_hash: &[u8; 32],
    payload: &[u8],
) -> [u8; 32]
Expand description

Compute the canonical leaf-data bytes and return their domain-tagged BLAKE3 hash.