Trait commit_verify::DigestExt
source · pub trait DigestExt<const BYTE_LEN: usize = 32>: Digest {
// Required methods
fn from_tag(tag: impl AsRef<[u8]>) -> Self;
fn input_raw(&mut self, data: &[u8]);
fn finish(self) -> [u8; BYTE_LEN];
// Provided method
fn input_with_len<const MAX: usize>(&mut self, data: &[u8]) { ... }
}
Required Methods§
fn from_tag(tag: impl AsRef<[u8]>) -> Self
fn input_raw(&mut self, data: &[u8])
fn finish(self) -> [u8; BYTE_LEN]
Provided Methods§
fn input_with_len<const MAX: usize>(&mut self, data: &[u8])
Object Safety§
This trait is not object safe.