Trait eth2_hashing::Sha256[][src]

pub trait Sha256 {
    type Context: Sha256Context;
    fn hash(&self, input: &[u8]) -> Vec<u8>;
fn hash_fixed(&self, input: &[u8]) -> [u8; 32]; }
Expand description

Top-level trait implemented by both sha2 and ring implementations.

Associated Types

Required methods

Implementors