Trait bitcoins::prelude::MarkedDigest [−][src]
pub trait MarkedDigest<D>: Digest + Default + Write where
D: MarkedDigestOutput, {
fn finalize_marked(self) -> D;
fn digest_marked(data: &[u8]) -> D;
}
Expand description
A marked digest
Required methods
fn finalize_marked(self) -> D
fn finalize_marked(self) -> D
Produce a marked digest from the hasher
fn digest_marked(data: &[u8]) -> D
fn digest_marked(data: &[u8]) -> D
Shortcut to produce a marked digest