fn hash_all_sha384(&self, messages: Vec<&[u8]>) -> Result<[u8; 48], Error> {
        let hash: Vec<u8> = messages
            .into_iter()
            .map(|m| self.hash_sha384(m).unwrap())
            .into_iter()
            .flatten()
            .collect();
        let hash = self.hash_sha384(&hash)?;
        Ok(hash)
    }
/// Returns a SHA384 hash of the the concatenated SHA384 hashes of a vector messages.
Returns a SHA384 hash of the the concatenated SHA384 hashes of a vector messages.
Returns a SHA384 hash of the the concatenated SHA384 hashes of a vector messages .
fn hash_all_sha384(&self, messages: Vec<&[u8]>) -> Result<[u8; 48], Error> {
        let hash: Vec<u8> = messages
            .into_iter()
            .map(|m| self.hash_sha384(m).unwrap())
            .into_iter()
            .flatten()
            .collect();
        let hash = self.hash_sha384(&hash)?;
        Ok(hash)
    }
fn hash_all_sha384 ( & self , messages : Vec < & [ u8 ] > ) -> Result < [ u8 ; 48 ] , Error > { let hash : Vec < u8 > = messages . into_iter ( ) . map ( | m | self . hash_sha384 ( m ) . unwrap ( ) ) . into_iter ( ) . flatten ( ) . collect ( ) ; let hash = self . hash_sha384 ( & hash ) ? ; Ok ( hash ) }
Returns a SHA384 hash of the the concatenated SHA384 hashes of a vector messages.
Returns a SHA384 hash of the the concatenated SHA384 hashes of a vector messages .
&self
messages
Vec<&[u8]>
&self
messages
Vec<&[u8]>