Crate chksum_core
source ·Expand description
Core traits and functions for straightforward hash computation of bytes, files, directories and more.
Setup
To use this crate, add the following entry to your Cargo.toml file in the dependencies section:
[dependencies]
chksum-core = "0.0.0"
Alternatively, you can use the cargo add subcommand:
cargo add chksum-core
Example Crates
For implementation-specific examples, refer to the source code of the following crates:
License
This crate is licensed under the MIT License.
Re-exports
pub use chksum_hash_core as hash;
Enums
- The error type for checksum-based operations.
Traits
- A trait for complex objects which must be processed chunk by chunk.
- A trait for hash digests.
- A trait for hash objects.
- A trait for simple bytes-like objects.
Functions
- Computes the hash of the given input.
- Creates a default hash.
- Computes the hash of the given input.
Type Aliases
- A specialized
Resulttype for checksum-based operations.