fn hash_contiguous(
        &self,
        bytes: &[u8],
        out: &mut Digest,
    ) -> Result<(), Error> {
        let mut hasher = self.new_hasher()?;
        hasher.write(bytes)?;
        hasher.finish(out)
    }
/// Convenience function for hashing a contiguous buffer without having
/// to deal with a hasher directly.
Convenience function for hashing a contiguous buffer without having
to deal with a hasher directly.
Convenience function for hashing a contiguous buffer without having to deal with a hasher directly .
fn hash_contiguous(
        &self,
        bytes: &[u8],
        out: &mut Digest,
    ) -> Result<(), Error> {
        let mut hasher = self.new_hasher()?;
        hasher.write(bytes)?;
        hasher.finish(out)
    }
fn hash_contiguous ( & self , bytes : & [ u8 ] , out : & mut Digest , ) -> Result < ( ) , Error > { let mut hasher = self . new_hasher ( ) ? ; hasher . write ( bytes ) ? ; hasher . finish ( out ) }
Convenience function for hashing a contiguous buffer without having
to deal with a hasher directly.
Convenience function for hashing a contiguous buffer without having to deal with a hasher directly .
&self
bytes
&[u8]
out
&mut Digest
&self
bytes
&[u8]
out
&mut Digest