rust-bitcoin-unsafe-fast/bitcoin/src/crypto
Tobin C. Harding d9533523ac
Remove usage of ThirtyTwoByteHash
The `ThirtyTwoByteHash` trait is defined in `secp256k1` and used in
`hashes` as well as `bitcoin`. This means that we must use the same
version of `hashes` in both `bitcoin` and `secp256k1`. This makes doing
release difficult.

Remove usage of `ThirtyTwoByteHash` and use `Message::from_slice`.
Include TODO above each usage because as soon as we release the new
version of secp we can use the new `Message::from_digest`.

This is step backwards as far as type safety goes and it makes the code
more ugly as well because it uses `expect` but thems the breaks.
2023-08-23 12:21:26 +10:00
..
ecdsa.rs Do trivial rustdoc improvements 2023-08-01 16:30:21 +10:00
key.rs Merge rust-bitcoin/rust-bitcoin#1914: Move type definitions of pubkey/script hash types 2023-08-02 13:57:39 +00:00
mod.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
sighash.rs Remove usage of ThirtyTwoByteHash 2023-08-23 12:21:26 +10:00
taproot.rs Use defensive documentation 2023-08-01 16:30:17 +10:00