gix_features::hash

Function hasher

Source
pub fn hasher(kind: Kind) -> Hasher
Available on crate features rustsha1 or fast-sha1 only.
Expand description

Produce a hasher suitable for the given kind of hash.