pub trait Hash: Zeroize { fn new() -> Self; fn update(&mut self, data: &[u8]); fn finalize(self) -> Vec<u8>; }
Trait represents Hash.
Create new hasher.
Update state using the provided data.
Retrieve result and consume hasher instance.