rustc/vendor/tenthash-0.4.0
2025-02-17 11:14:05 +01:00
..
benches New upstream version 1.85.0~beta.9+dfsg1 2025-02-17 11:14:05 +01:00
src New upstream version 1.85.0~beta.9+dfsg1 2025-02-17 11:14:05 +01:00
tests New upstream version 1.85.0~beta.9+dfsg1 2025-02-17 11:14:05 +01:00
.cargo-checksum.json New upstream version 1.85.0~beta.9+dfsg1 2025-02-17 11:14:05 +01:00
Cargo.toml New upstream version 1.85.0~beta.9+dfsg1 2025-02-17 11:14:05 +01:00
README.md New upstream version 1.85.0~beta.9+dfsg1 2025-02-17 11:14:05 +01:00

TentHash Rust

Latest Release Documentation

Rust implementation of TentHash, a 160-bit non-cryptographic hash function.

WARNING: TentHash's design is not yet finalized, and digest results may change before the spec is declared 1.0.

TentHash is a high-quality, reasonably fast, large-output hash. Its target applications are data fingerprinting, checksums, content-addressable systems, and other use cases that don't tolerate hash collisions.

Importantly, TentHash is explicitly not intended to stand up to attacks. Its robustness against collisions is only meaningful under non-adversarial conditions. In other words, like a good tent, it will protect you from the elements, but will do very little to protect you from attackers.

License

This project is licensed under either of

at your option.

Contributing

Contributions are absolutely welcome! Please keep in mind that this crate aims to be:

  • no-std and allocation-free. PRs that use allocation, etc. are very likely to be rejected.
  • As small as it reasonably can be, including transitive dependencies. PRs that pull in dependencies--especially deep dependency trees--are likely to be rejected unless they really pull their weight.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you will be licensed as above (MIT/Apache dual-license), without any additional terms or conditions.