Function compute_hash

Source
pub fn compute_hash(
    hash_kind: Kind,
    object_kind: Kind,
    data: &[u8],
) -> Result<ObjectId, Error>
Expand description

A function to compute a hash of kind hash_kind for an object of object_kind and its data.