Struct winter_crypto::hashers::Sha3_256
source · [−]pub struct Sha3_256<B: StarkField>(_);
Expand description
Implementation of the Hasher trait for SHA3 hash function with 256-bit output.
Trait Implementations
type BaseField = B
type BaseField = B
Specifies a base field for elements which can be hashed with this hasher.
fn hash_elements<E: FieldElement<BaseField = Self::BaseField>>(
elements: &[E]
) -> Self::Digest
fn hash_elements<E: FieldElement<BaseField = Self::BaseField>>(
elements: &[E]
) -> Self::Digest
Returns a hash of the provided field elements.