Trait coins_bip32::ecdsa::signature::digest::FixedOutput[]

pub trait FixedOutput {
    type OutputSize: ArrayLength<u8>;
    pub fn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>);
pub fn finalize_into_reset(
        &mut self,
        out: &mut GenericArray<u8, Self::OutputSize>
    ); pub fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize> { ... }
pub fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize> { ... } }

Trait for returning digest result with the fixed size

Associated Types

type OutputSize: ArrayLength<u8>

Output size for fixed output digest

Loading content...

Required methods

pub fn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>)

Write result into provided array and consume the hasher instance.

pub fn finalize_into_reset(
    &mut self,
    out: &mut GenericArray<u8, Self::OutputSize>
)

Write result into provided array and reset the hasher instance.

Loading content...

Provided methods

pub fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>

Retrieve result and consume the hasher instance.

pub fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>

Retrieve result and reset the hasher instance.

Loading content...

Implementations on Foreign Types

impl FixedOutput for Hash160[src]

type OutputSize = <Ripemd160 as FixedOutput>::OutputSize

impl FixedOutput for Hash256[src]

type OutputSize = <Sha256 as FixedOutput>::OutputSize

impl FixedOutput for Blake2b256[src]

type OutputSize = <Sha256 as Digest>::OutputSize

Loading content...

Implementors

impl<D> FixedOutput for D where
    D: FixedOutputDirty + Reset

type OutputSize = <D as FixedOutputDirty>::OutputSize

Loading content...