pub fn decode_hash<H: Hasher>(data: &[u8]) -> Option<H::Out>
Expand description

Read a hash from a slice into a Hasher output. Returns None if the slice is the wrong length.