# chksum-core
[](https://crates.io/crates/chksum-core)
[](https://github.com/chksum-rs/core/actions/workflows/rust.yml)
[](https://docs.rs/chksum-core/)
[](https://github.com/chksum-rs/core/blob/master/Cargo.toml)
[](https://deps.rs/crate/chksum-core/0.1.0)
[](https://github.com/rust-secure-code/safety-dance)
[](https://github.com/chksum-rs/core/blob/master/LICENSE)
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:
```toml
[dependencies]
chksum-core = "0.1.0"
```
Alternatively, you can use the [`cargo add`](https://doc.rust-lang.org/cargo/commands/cargo-add.html) subcommand:
```sh
cargo add chksum-core
```
## Features
### Asynchronous Runtime
* `async-runtime-tokio`: Enables async interface for Tokio runtime.
By default, neither of these features is enabled.
## Example Crates
For implementation-specific examples, refer to the source code of the following crates:
* [`chksum-md5`](https://github.com/chksum-rs/md5)
* [`chksum-sha1`](https://github.com/chksum-rs/sha1)
* [`chksum-sha2`](https://github.com/chksum-rs/sha2)
* [`chksum-sha2-224`](http://github.com/chksum-rs/sha2-224)
* [`chksum-sha2-256`](http://github.com/chksum-rs/sha2-256)
* [`chksum-sha2-384`](http://github.com/chksum-rs/sha2-384)
* [`chksum-sha2-512`](http://github.com/chksum-rs/sha2-512)
## License
This crate is licensed under the MIT License.