Trait coins_bip32::ecdsa::signature::digest::FixedOutput
source · [−]pub trait FixedOutput: Update + OutputSizeUser {
fn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>);
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize> { ... }
}
Expand description
Trait for hash functions with fixed-size output.
Required Methods
fn 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
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
Retrieve result and consume the hasher instance.