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

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

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

Required methods

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

Implementors