pub trait HashUncompressed {
type Input;
type Output;
fn hash_uncompressed(
&self,
input: &[Self::Input]
) -> Result<Self::Output, Error>;
}
Expand description
A trait for a hash function of an uncompressed variant.
Required Associated Types§
Required Methods§
fn hash_uncompressed(&self, input: &[Self::Input]) -> Result<Self::Output, Error>
fn hash_uncompressed(&self, input: &[Self::Input]) -> Result<Self::Output, Error>
Returns the hash of the given input.