Function arber::hash_with_index[][src]

pub fn hash_with_index(idx: u64, hash: &Hash) -> Hash
Expand description

Return the hash of idx and hash.

This function is used to avoid collisions among leaf data hashes themselves.