5 releases

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-beta.2 Aug 3, 2023
0.1.0-alpha.1 Jul 21, 2023

#788 in Cryptography

24 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