rust-bitcoin-unsafe-fast/hashes/src/sha256
Tobin C. Harding d3846895d7
hashes: Add hash function to modules
Add a standalone `hash` function that is a drop in replacement for
`GeneralHash::hash`. Do not add it to `hmac` - this is in parity with
the current code because `Hmac` does not implement `GeneralHash::hash`.

Use the new function in `bitcoin` removing all occurrences of
`GeneralHash` from `bitcoin`.

In `hashes` replace usage of `GeneralHash::hash` with the new `hash`
function.
2025-03-06 11:47:29 +11:00
..
benches.rs hashes: Move bench and test code into files 2025-02-06 07:10:02 +11:00
crypto.rs hashes: Pull crypto out into submodule 2025-02-06 07:10:02 +11:00
mod.rs hashes: Add hash function to modules 2025-03-06 11:47:29 +11:00
tests.rs Add missing hex feature gate 2025-02-14 11:44:55 +00:00