snarkvm_console_network_environment::traits::algorithms

Trait HashUncompressed

Source
pub trait HashUncompressed {
    type Input;
    type Output;

    // Required method
    fn hash_uncompressed(&self, input: &[Self::Input]) -> Result<Self::Output>;
}
Expand description

A trait for a hash function of an uncompressed variant.

Required Associated Types§

Required Methods§

Source

fn hash_uncompressed(&self, input: &[Self::Input]) -> Result<Self::Output>

Returns the hash of the given input.

Implementors§