Trait bytehash::ByteHash[][src]

pub trait ByteHash: 'static + Clone + Debug {
    type Digest: AsRef<[u8]> + AsMut<[u8]> + Copy + Clone + Eq + Hash + Default + Debug + Send;
    type State: State<Self::Digest> + Write;
    fn state() -> Self::State;
}

The main trait

Associated Types

The type that is used for the final hash value

The state for computing hashes

Required Methods

Construct a new hash-state

Implementors