Crate universal_hash
source ·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.
§Minimum Supported Rust Version
Rust 1.65 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
§SemVer Policy
- All on-by-default features of this library are covered by SemVer
- MSRV is considered exempt from SemVer as noted above
§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§
- Type aliases for many constants.
Structs§
- Error type used by the
UniversalHash::verify
method to indicate that UHF output is not equal the expected value.
Traits§
- Types which can be initialized from key.
- Resettable types.
- Trait implemented by UHF backends.
- Trait for
UhfBackend
users. - The
UniversalHash
trait defines a generic interface for universal hash functions.
Type Aliases§
- Block on which
BlockSizeUser
implementors operate. - Key used by
KeySizeUser
implementors. - Parallel blocks on which
ParBlocksSizeUser
implementors operate.