pub trait OutputSizeUser {
    type OutputSize: ArrayLength<u8> + 'static;

    // Provided method
    fn output_size() -> usize { ... }
}
Expand description

Types which return data with the given size.

Required Associated Types§

type OutputSize: ArrayLength<u8> + 'static

Size of the output in bytes.

Provided Methods§

fn output_size() -> usize

Return output size in bytes.

Implementations on Foreign Types§

source§

impl<D> OutputSizeUser for SimpleHmac<D>where D: Digest + BlockSizeUser,

source§

impl<D> OutputSizeUser for HmacCore<D>where D: CoreProxy, <D as CoreProxy>::Core: HashMarker + UpdateCore + FixedOutputCore<BufferKind = Eager> + BufferKindUser + Default + Clone, <<D as CoreProxy>::Core as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>, <<<D as CoreProxy>::Core as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,

source§

impl OutputSizeUser for Sha512VarCore

source§

impl OutputSizeUser for Sha256VarCore

source§

impl OutputSizeUser for Hash160

source§

impl OutputSizeUser for Hash256

§

impl OutputSizeUser for Ripemd256Core

§

impl OutputSizeUser for Ripemd320Core

§

impl OutputSizeUser for Ripemd128Core

§

impl OutputSizeUser for Ripemd160Core

§

impl OutputSizeUser for Sha3_224Core

§

impl OutputSizeUser for Keccak512Core

§

impl OutputSizeUser for Keccak224Core

§

impl OutputSizeUser for Keccak384Core

§

impl OutputSizeUser for Sha3_256Core

§

impl OutputSizeUser for Sha3_384Core

§

impl OutputSizeUser for Keccak256Core

§

impl OutputSizeUser for Sha3_512Core

§

impl OutputSizeUser for Keccak256FullCore

Implementors§