Skip to main content
This is unreleased documentation for the main (development) branch of crypto-glue.

EagerHash

Trait EagerHash 

Source
pub trait EagerHash: BlockSizeUser + Digest {
    type Core: HashMarker + UpdateCore + FixedOutputCore + BlockSizeUser<BlockSize = <Self as BlockSizeUser>::BlockSize> + BufferKindUser<BufferKind = Eager> + Default + Clone;
}
Expand description

Trait implemented by eager hashes which expose their block-level core.

Required Associated Types§

Source

type Core: HashMarker + UpdateCore + FixedOutputCore + BlockSizeUser<BlockSize = <Self as BlockSizeUser>::BlockSize> + BufferKindUser<BufferKind = Eager> + Default + Clone

Block-level core type of the hash.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§