[][src]Function tree_hash::merkle_root

pub fn merkle_root(bytes: &[u8], minimum_chunk_count: usize) -> Vec<u8>

Alias to merkleize_padded(&bytes, minimum_chunk_count)

If minimum_chunk_count < bytes / BYTES_PER_CHUNK, padding will be added for the difference between the two.