Trait coins_bip32::ecdsa::signature::digest::FixedOutput
source · pub trait FixedOutput: Update + OutputSizeUser + Sized {
// Required method
fn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>);
// Provided method
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize> { ... }
}
Expand description
Trait for hash functions with fixed-size output.
Required Methods§
sourcefn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>)
fn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>)
Consume value and write result into provided array.
Provided Methods§
sourcefn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
Retrieve result and consume the hasher instance.