Expand description
§RustCrypto: Universal Hash Function Traits
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 crypto_common;pub use crypto_common::array;pub use crypto_common::typenum;
Modules§
Structs§
- Error
- Error type used by the
UniversalHash::verifymethod to indicate that UHF output is not equal the expected value.
Traits§
- KeyInit
- Types which can be initialized from key.
- Reset
- Resettable types.
- UhfBackend
- Trait implemented by UHF backends.
- UhfClosure
- Trait for
UhfBackendusers. - Universal
Hash - The
UniversalHashtrait defines a generic interface for universal hash functions.
Type Aliases§
- Block
- Block on which
BlockSizeUserimplementors operate. - Key
- Key used by
KeySizeUserimplementors. - ParBlocks
- Parallel blocks on which
ParBlocksSizeUserimplementors operate.