[][src]Trait secp256kfun::hash::HashAdd

pub trait HashAdd {
    fn add<HI: HashInto + ?Sized>(self, data: &HI) -> Self;
}

Extension trait for digest::Digest to make adding things to the hash convenient.

Required methods

fn add<HI: HashInto + ?Sized>(self, data: &HI) -> Self

Converts something that implements HashInto to bytes and then incorporate the result into the digest (self).

Loading content...

Implementors

impl<D: Digest> HashAdd for D[src]

Loading content...