[−][src]Trait tiny_multihash::Digest
Stack allocated digest trait.
Provided methods
fn size(&self) -> u8
Size of the digest.
fn wrap(digest: &[u8]) -> Result<Self, Error>
Wraps the digest bytes.
fn extend(digest: &[u8]) -> Result<Self, Error>
Extends the digest size to the required size.
fn truncate(digest: &[u8]) -> Result<Self, Error>
Wraps and the digest bytes.
fn fit(digest: &[u8]) -> Self
Fit the digest bytes.