pub trait FixedOutput {
type OutputSize: ArrayLength<u8>;
// Required method
fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>;
}Expand description
Trait for returning digest result with the fixed size
Required Associated Types§
type OutputSize: ArrayLength<u8>
Required Methods§
Sourcefn fixed_result(self) -> GenericArray<u8, Self::OutputSize>
fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>
Retrieve the digest result. This method consumes digest instance.