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

pub trait FixedOutputDirty {
    type OutputSize: ArrayLength<u8>;
    pub fn finalize_into_dirty(
        &mut self,
        out: &mut GenericArray<u8, Self::OutputSize>
    ); }

Trait for fixed-output digest implementations to use to retrieve the hash output.

Usage of this trait in user code is discouraged. Instead use the FixedOutput::finalize_fixed or FixedOutput::finalize_fixed_reset methods.

Types which impl this trait along with Reset will receive a blanket impl of FixedOutput.

Associated Types

type OutputSize: ArrayLength<u8>

Output size for fixed output digest

Loading content...

Required methods

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

Retrieve result into provided buffer and leave hasher in a dirty state.

This method is expected to only be called once unless Reset::reset is called, after which point it can be called again and reset again (and so on).

Loading content...

Implementations on Foreign Types

impl FixedOutputDirty for Ripemd160

type OutputSize = UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>

impl FixedOutputDirty for Sha384[src]

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Sha224[src]

type OutputSize = UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>

impl FixedOutputDirty for Sha512[src]

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Sha256[src]

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Sha512Trunc256[src]

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Sha512Trunc224[src]

type OutputSize = UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>

impl FixedOutputDirty for Keccak224

type OutputSize = UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>

impl FixedOutputDirty for Sha3_384

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Sha3_224

type OutputSize = UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>

impl FixedOutputDirty for Keccak512

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Keccak384

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Sha3_512

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Keccak256Full

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>

impl FixedOutputDirty for Keccak256

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Sha3_256

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Blake2b

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>

impl FixedOutputDirty for Blake2s

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>

Loading content...

Implementors

Loading content...