[][src]Trait fdh::Input

pub trait Input {
    fn input<B>(&mut self, data: B)
    where
        B: AsRef<[u8]>
; fn chain<B>(self, data: B) -> Self
    where
        B: AsRef<[u8]>
, { ... } }

Trait for processing input data

Required methods

fn input<B>(&mut self, data: B) where
    B: AsRef<[u8]>, 

Digest input data.

This method can be called repeatedly, e.g. for processing streaming messages.

Loading content...

Provided methods

fn chain<B>(self, data: B) -> Self where
    B: AsRef<[u8]>, 

Digest input data in a chained manner.

Loading content...

Implementors

impl<H: Digest> Input for FullDomainHash<H>[src]

fn input<B: AsRef<[u8]>>(&mut self, data: B)[src]

Digest input data

fn chain<B>(self, data: B) -> Self where
    B: AsRef<[u8]>, 
[src]

Loading content...