Skip to main content

Crate universal_hash

Crate universal_hash 

Source
Expand description

§RustCrypto: Universal Hash Function Traits

crate Docs Apache2/MIT licensed Rust Version Project Chat Build Status

Traits which describe functionality of universal hash functions (UHFs).

See RustCrypto/universal-hashes for implementations which use this trait.

§License

Licensed under either of:

at your option.

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Re-exports§

pub use common;
pub use common::array;
pub use common::typenum;
pub use common as crypto_common;

Modules§

consts

Structs§

Error
Error type used by the UniversalHash::verify method to indicate that UHF output is not equal the expected value.

Traits§

KeyInit
Types which can be initialized from a key.
Reset
Resettable types.
UhfBackend
Trait implemented by UHF backends.
UhfClosure
Trait for UhfBackend users.
UniversalHash
The UniversalHash trait defines a generic interface for universal hash functions.

Type Aliases§

Block
Block on which BlockSizeUser implementors operate.
Key
Key used by KeySizeUser implementors.
ParBlocks
Parallel blocks on which ParBlocksSizeUser implementors operate.