rust-bitcoin-unsafe-fast/hashes/src
Andrew Poelstra 91265977f8
hashes: stop exposing engine/from_engine and general hashing methods in hash_newtype
We manually implement these methods (and the GeneralHash trait) on newtypes
around sha256t::Hash, because tagged hashes require a bit more work. In
the next commit (API diff) you will see that this affects two hashes,
which are the only things that appear green in the diff.

Users who want to implement their own engine/from_engine types now need
to do it on their own. We do this for the non-Taproot sighash types in
`bitcoin` (though only privately) to demonstrate that it's possible.
2024-06-24 13:58:05 +00:00
..
cmp.rs hashes: Introduce SPDX license identifiers 2023-05-01 09:26:36 +10:00
hash160.rs hashes: split Hash trait into two 2024-06-24 13:28:54 +00:00
hkdf.rs hashes: split Hash trait into two 2024-06-24 13:28:54 +00:00
hmac.rs hashes: split Hash trait into two 2024-06-24 13:28:54 +00:00
impls.rs hashes: split Hash trait into two 2024-06-24 13:28:54 +00:00
internal_macros.rs hashes: split Hash trait into two 2024-06-24 13:28:54 +00:00
lib.rs hashes: stop exposing engine/from_engine and general hashing methods in hash_newtype 2024-06-24 13:58:05 +00:00
ripemd160.rs Add inherent functions to hashes 2024-06-14 10:17:00 +10:00
serde_macros.rs Removed //! spare line at end of headers 2024-05-22 12:00:25 +01:00
sha1.rs Add inherent functions to hashes 2024-06-14 10:17:00 +10:00
sha256.rs hashes: split Hash trait into two 2024-06-24 13:28:54 +00:00
sha256d.rs Add inherent functions to hashes 2024-06-14 10:17:00 +10:00
sha256t.rs hashes: stop exposing engine/from_engine and general hashing methods in hash_newtype 2024-06-24 13:58:05 +00:00
sha384.rs Add inherent functions to hashes 2024-06-14 10:17:00 +10:00
sha512.rs Add inherent functions to hashes 2024-06-14 10:17:00 +10:00
sha512_256.rs Add inherent functions to hashes 2024-06-14 10:17:00 +10:00
siphash24.rs Add inherent functions to hashes 2024-06-14 10:17:00 +10:00
util.rs hashes: stop exposing engine/from_engine and general hashing methods in hash_newtype 2024-06-24 13:58:05 +00:00