Trait coins_bip32::ecdsa::signature::digest::ExtendableOutputReset
source · [−]pub trait ExtendableOutputReset: ExtendableOutput + Reset {
fn finalize_xof_reset(&mut self) -> Self::Reader;
fn finalize_xof_reset_into(&mut self, out: &mut [u8]) { ... }
fn finalize_boxed_reset(&mut self, output_size: usize) -> Box<[u8], Global> { ... }
}
Expand description
Trait for hash functions with extendable-output (XOF) able to reset themselves.
Required Methods
fn finalize_xof_reset(&mut self) -> Self::Reader
fn finalize_xof_reset(&mut self) -> Self::Reader
Retrieve XOF reader and reset hasher instance state.
Provided Methods
fn finalize_xof_reset_into(&mut self, out: &mut [u8])
fn finalize_xof_reset_into(&mut self, out: &mut [u8])
Finalize XOF, write result into out
, and reset the hasher state.