[][src]Trait nimiq_hash::Hasher

pub trait Hasher: Default + Write {
    type Output: HashOutput;
    fn finish(self) -> Self::Output;

    fn digest(self, bytes: &[u8]) -> Self::Output { ... }
fn hash<T: SerializeContent>(&mut self, h: &T) -> &mut Self { ... }
fn chain<T: SerializeContent>(self, h: &T) -> Self { ... } }

Associated Types

Loading content...

Required methods

fn finish(self) -> Self::Output

Loading content...

Provided methods

fn digest(self, bytes: &[u8]) -> Self::Output

fn hash<T: SerializeContent>(&mut self, h: &T) -> &mut Self

fn chain<T: SerializeContent>(self, h: &T) -> Self

Loading content...

Implementors

impl Hasher for Sha512Hasher[src]

impl Hasher for Argon2dHasher[src]

impl Hasher for Blake2bHasher[src]

impl Hasher for Sha256Hasher[src]

Loading content...