rust/library/core
Scott McMurray 98054377ee Add a dedicated length-prefixing method to Hasher
This accomplishes two main goals:
- Make it clear who is responsible for prefix-freedom, including how they should do it
- Make it feasible for a `Hasher` that *doesn't* care about Hash-DoS resistance to get better performance by not hashing lengths

This does not change rustc-hash, since that's in an external crate, but that could potentially use it in future.
2022-05-06 00:03:38 -07:00
..
benches add benchmark 2022-05-02 20:54:46 +02:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Add a dedicated length-prefixing method to Hasher 2022-05-06 00:03:38 -07:00
tests Add a dedicated length-prefixing method to Hasher 2022-05-06 00:03:38 -07:00
Cargo.toml Build libcore as 2021 in a few more places 2022-02-06 15:41:01 -08:00