[][src]Trait cryptonight_hash::FixedOutput

pub trait FixedOutput {
    type OutputSize: ArrayLength<u8>;
    fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>;
}

Trait for returning digest result with the fixed size

Associated Types

type OutputSize: ArrayLength<u8>

Loading content...

Required methods

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

Retrieve result and consume hasher instance.

Loading content...

Implementations on Foreign Types

impl FixedOutput for Blake512[src]

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

impl FixedOutput for Blake256[src]

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

impl FixedOutput for Blake224[src]

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

impl FixedOutput for Blake384[src]

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

impl FixedOutput for Groestl224[src]

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

impl FixedOutput for Groestl256[src]

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

impl FixedOutput for Groestl512[src]

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

impl FixedOutput for Groestl384[src]

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

impl FixedOutput for Jh512[src]

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

impl FixedOutput for Jh224[src]

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

impl FixedOutput for Jh256[src]

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

impl FixedOutput for Jh384[src]

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

impl<N> FixedOutput for Skein1024<N> where
    N: Unsigned + ArrayLength<u8> + NonZero + Default
[src]

type OutputSize = N

impl<N> FixedOutput for Skein256<N> where
    N: Unsigned + ArrayLength<u8> + NonZero + Default
[src]

type OutputSize = N

impl<N> FixedOutput for Skein512<N> where
    N: Unsigned + ArrayLength<u8> + NonZero + Default
[src]

type OutputSize = N

impl FixedOutput for Sha3_512[src]

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

impl FixedOutput for Sha3_224[src]

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

impl FixedOutput for Sha3_384[src]

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

impl FixedOutput for Sha3_256[src]

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

impl FixedOutput for Keccak256[src]

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

impl FixedOutput for Keccak384[src]

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

impl FixedOutput for Keccak224[src]

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

impl FixedOutput for Keccak512[src]

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

impl FixedOutput for Keccak256Full[src]

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

Loading content...

Implementors

impl FixedOutput for CryptoNight[src]

type OutputSize = U32

Loading content...