rust-bitcoin-unsafe-fast/bitcoin/src/crypto
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
..
ecdsa.rs Deprecate to_vec in favour of to_bytes 2024-05-14 10:47:02 +10:00
key.rs bitcoin: remove all use of engine/from_engine on opaque hash types 2024-06-24 13:57:03 +00:00
mod.rs Removed //! spare line at end of headers 2024-05-16 09:59:55 +01:00
sighash.rs hashes: stop exposing engine/from_engine and general hashing methods in hash_newtype 2024-06-24 13:58:05 +00:00
taproot.rs fix crypto rustdocs 2024-06-06 16:54:02 +01:00