Trait coins_core::hashes::MarkedDigest
source · pub trait MarkedDigest<D>:
Digest
+ Default
+ Writewhere
D: MarkedDigestOutput,{
// Required methods
fn finalize_marked(self) -> D;
fn digest_marked(data: &[u8]) -> D;
}
Expand description
A marked digest
Required Methods§
sourcefn finalize_marked(self) -> D
fn finalize_marked(self) -> D
Produce a marked digest from the hasher
sourcefn digest_marked(data: &[u8]) -> D
fn digest_marked(data: &[u8]) -> D
Shortcut to produce a marked digest
Object Safety§
This trait is not object safe.