Trait snarkvm_console_algorithms::scalar::Hash  
pub trait Hash {
    type Input;
    type Output;
    fn hash(&self, input: &[Self::Input]) -> Result<Self::Output, Error>;
}Expand description
A trait for a hash function.
pub trait Hash {
    type Input;
    type Output;
    fn hash(&self, input: &[Self::Input]) -> Result<Self::Output, Error>;
}A trait for a hash function.