6 releases

new 0.1.0-beta.7 Dec 10, 2024
0.1.0-beta.6 Oct 11, 2024
0.1.0-beta.5 Jul 9, 2024
0.1.0-beta.3 Aug 9, 2023
0.1.0-alpha.1 Jul 21, 2023

#761 in Cryptography

Download history 10/week @ 2024-09-10 6/week @ 2024-09-17 9/week @ 2024-09-24 10/week @ 2024-10-01 146/week @ 2024-10-08 14/week @ 2024-10-15

431 downloads per month
Used in libscoop

MIT/Apache

58KB
1K SLoC

scoop-hash

Hashing library for libscoop

crates-svg docs-svg crates-license-svg crates-download-svg

This crate provides a set of hash functions used by libscoop. It is not intended to be used by other crates.

Install

Please refer to the repository homepage for the changelog.

[dependencies]
scoop-hash = "0.1"

Hash Implementations

By default, self-contained implementations of hash functions from within this crate are used. It is possible to use the implementations from RustCrypto's crates by enabling the rustcrypto feature.

[dependencies]
scoop-hash = { version = "0.1", features = ["rustcrypto"] }

Self-contained implementations are hand written pure Rust soft implemented and considerably slower than those from RustCrypto's crates that may have SIMD or even ASM backends, but they do not require any external dependencies and are more portable.

Bench

cargo bench

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

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.

Dependencies

~94KB