rust-bitcoin-unsafe-fast/hashes/src
Tobin C. Harding 95ad91cdb6
hashes: Remove the GeneralHash trait
Now that we are able to unambiguously go from a hash engine to its
associated hash type there is no longer any need for the `GeneralHash`
trait.

Please note that IMO this concept of a general hash type as opposed to
one where one can hash arbitrary data still exists in the codebase - it
is implicitly in the `hash_newtype` macro.

Remove the `GeneralHash` trait.
2025-03-06 11:47:29 +11:00
..
hash160 Remove unused trait import 2025-03-06 11:47:29 +11:00
hkdf Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
hmac Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
ripemd160 Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
sha1 Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
sha256 hashes: Add hash function to modules 2025-03-06 11:47:29 +11:00
sha256d Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
sha256t hashes: Add hash_byte_chunks function to modules 2025-03-06 11:47:29 +11:00
sha384 Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
sha512 Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
sha512_256 Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
siphash24 Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
cmp.rs Add missing hex feature gate 2025-02-14 11:44:55 +00:00
error.rs Remove usage of impl_from_infallible in leaf crates 2025-01-02 07:51:21 +11:00
internal_macros.rs hashes: Remove the GeneralHash trait 2025-03-06 11:47:29 +11:00
lib.rs hashes: Remove the GeneralHash trait 2025-03-06 11:47:29 +11:00
macros.rs Merge rust-bitcoin/rust-bitcoin#4047: Properly deprecate `Hash::from_slice` 2025-02-19 15:36:40 +00:00