pub trait HashingAlgorithm<S: StandardCryptographicSuite> {
type Output;
// Required method
fn hash(
input: TransformedData<S>,
proof_configuration: ProofConfigurationRef<'_, S>,
verification_method: &S::VerificationMethod,
) -> Result<Self::Output, HashingError>;
}Expand description
Hashing algorithm.
Required Associated Types§
Required Methods§
fn hash( input: TransformedData<S>, proof_configuration: ProofConfigurationRef<'_, S>, verification_method: &S::VerificationMethod, ) -> Result<Self::Output, HashingError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.